Skip to content

Commit

Permalink
Merge pull request #7 from andforce/master
Browse files Browse the repository at this point in the history
Fix Diameter & Add ignore files
  • Loading branch information
lsjwzh committed May 25, 2015
2 parents c72fd90 + 9e94cc0 commit 4929aff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ proguard/

# Log Files
*.log

# idea
.idea/

*.iml

*/*.iml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ protected void onLayout(boolean changed, int left, int top, int right, int botto
mBgCircle = new ShapeDrawable(new OvalShape());
ViewCompat.setElevation(this, SHADOW_ELEVATION * density);
} else {
OvalShape oval = new OvalShadow(mShadowRadius, mDiameter);
OvalShape oval = new OvalShadow(mShadowRadius, mDiameter - mShadowRadius * 2);
mBgCircle = new ShapeDrawable(oval);
ViewCompat.setLayerType(this, ViewCompat.LAYER_TYPE_SOFTWARE, mBgCircle.getPaint());
mBgCircle.getPaint().setShadowLayer(mShadowRadius, shadowXOffset, shadowYOffset,
Expand Down

0 comments on commit 4929aff

Please sign in to comment.