Created
June 16, 2017 08:00
-
-
Save talhahasanzia/de20903958db4bf025d46673940dc013 to your computer and use it in GitHub Desktop.
Drop shadow effect for all android versions
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
<item> | |
<shape android:shape="rectangle" > | |
<gradient | |
android:angle="360" | |
android:centerColor="#dcdcdc" | |
android:endColor="#e7e7e7" | |
android:gradientRadius="360" | |
android:startColor="#95ececec" | |
android:type="radial" /> | |
<corners android:radius="4dp"/> | |
<stroke | |
android:width="1dp" | |
android:color="#bcf2f2f2" /> | |
</shape> | |
</item> | |
<item | |
android:bottom="2dp" | |
android:left="2dp" | |
android:right="2dp" | |
android:top="2dp"> | |
<shape android:shape="rectangle" > | |
<solid android:color="#fff" /> | |
<corners android:radius="4dp"/> | |
</shape> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its just a background drawable.