Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ToDou authored Sep 21, 2017
1 parent 7a25141 commit 9826175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shadow

This library draw android view shadow by ShadowLayer. You may don't like the CardView's black shadow which we can't change it's color. Same to CardView wrap content and set shadow radius. You can change shadow color, foreground color and corner radius everywhere. Because the shadow is draw in the view. So you must add space to draw the shadow. The ShadowView add one param shadowMargin which must be set before you add shadow radius to the view.
Warn: Margin In UI = layout_margin + shadow_margin(Add by ShadowView)
Warning: `Margin In UI~` = `layout_margin` + `shadow_margin(Add by ShadowView)`

[Download Smaple](https://github.com/loopeer/shadow/releases/download/v0.0.1/app-debug.apk)

Expand Down

0 comments on commit 9826175

Please sign in to comment.