Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle">
- <item>
- <shape>
- <!-- set the shadow color here -->
- <stroke
- android:width="2.5dp"
- android:color="@color/darker_gray" />
- <!-- setting the thickness of shadow (positive value will give shadow on that side) -->
- <!--Set shadow width as per your requirement -->
- <padding
- android:bottom="2dp"
- android:left="0.5dp"
- android:right="2dp"
- android:top="0.5dp" />
- <corners android:radius="2dp" />
- </shape>
- </item>
- <!--White Background -->
- <item>
- <shape>
- <solid android:color="#fff" />
- <corners android:radius="2dp" />
- </shape>
- </item>
- </layer-list>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement