-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
huangshuisheng
committed
Apr 25, 2017
1 parent
7d6a654
commit 1a76270
Showing
10 changed files
with
177 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_1" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_2" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_3" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_4" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_5" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_6" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_7" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@color/cardShadowColor_8" /> | ||
<corners android:radius="@dimen/cardRadius" /> | ||
<padding | ||
android:bottom="@dimen/cardPadding" | ||
android:left="@dimen/cardPadding" | ||
android:top="@dimen/cardPadding" | ||
android:right="@dimen/cardPadding" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<corners android:radius="@dimen/round_corner" /> | ||
<solid android:color="@color/cardBodyColor" /> | ||
<!--<padding android:bottom="@dimen/cardRadius" | ||
android:top="@dimen/cardRadius" | ||
android:left="@dimen/cardRadius" | ||
android:right="@dimen/cardRadius" | ||
/>--> | ||
</shape> | ||
</item> | ||
</layer-list> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="cardBodyColor">#FFFFFF</color> | ||
<color name="cardShadowColor_1">#0a8c8c8c</color> | ||
<color name="cardShadowColor_2">#0f898989</color> | ||
<color name="cardShadowColor_3">#14898989</color> | ||
<color name="cardShadowColor_4">#19898989</color> | ||
<color name="cardShadowColor_5">#1e898989</color> | ||
<color name="cardShadowColor_6">#23898989</color> | ||
<color name="cardShadowColor_7">#28898989</color> | ||
<color name="cardShadowColor_8">#2d898989</color> | ||
<dimen name="cardPadding">1px</dimen> | ||
<dimen name="cardRadius">@dimen/round_corner</dimen> | ||
|
||
</resources> |