Skip to content

Instantly share code, notes, and snippets.

@jtmuller5
Created January 30, 2020 05:13
Show Gist options
  • Save jtmuller5/b056ebe06818a8f4325e7ce1a31cc2b0 to your computer and use it in GitHub Desktop.
Save jtmuller5/b056ebe06818a8f4325e7ce1a31cc2b0 to your computer and use it in GitHub Desktop.
Gradient Drawable for CardView
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:angle="0"/>
<corners
android:bottomLeftRadius="@dimen/card_corner"
android:bottomRightRadius="@dimen/card_corner"
android:topLeftRadius="@dimen/card_corner"
android:topRightRadius="@dimen/card_corner" />
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment