Skip to content

Instantly share code, notes, and snippets.

@shaobin0604
Created October 20, 2013 11:53
Show Gist options
  • Select an option

  • Save shaobin0604/7068554 to your computer and use it in GitHub Desktop.

Select an option

Save shaobin0604/7068554 to your computer and use it in GitHub Desktop.
Card UI background
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:dither="true" android:shape="rectangle">
<corners android:radius="2.0dip" />
<solid android:color="#ffcccccc" />
</shape>
</item>
<item android:bottom="2.0dip">
<shape android:dither="true" android:shape="rectangle">
<corners android:radius="2.0dip" />
<solid android:color="@*android:color/white" />
<padding android:left="8.0dip" android:top="8.0dip" android:right="8.0dip" android:bottom="8.0dip" />
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment