Skip to content

Instantly share code, notes, and snippets.

@armanso
Last active April 22, 2017 12:21
Show Gist options
  • Save armanso/9f05bd6b96aead04e24bc37658c1ff2b to your computer and use it in GitHub Desktop.
Save armanso/9f05bd6b96aead04e24bc37658c1ff2b to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- solids that simulate shadow !-->
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#10CCCCCC" />
<padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
</shape>
</item>
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#20CCCCCC" />
<padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
</shape>
</item>
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#40CCCCCC" />
<padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
</shape>
</item>
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#50CCCCCC" />
<padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
</shape>
</item>
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#60CCCCCC" />
<padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
</shape>
</item>
<!-- main background !-->
<item>
<shape>
<corners android:radius="@dimen/radius_corner"></corners>
<solid android:color="#ffffff" />
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment