diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-01-05 17:46:13 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-01-05 17:46:13 -0800 |
commit | 20b1e4ea96cbc61b3a2cc9d948bf21fe41f7b725 (patch) | |
tree | 7e436debe53429e3ac85e1d01cdbc86aa29b09b2 /app/src/main/res/drawable | |
parent | 2ff02bf125d1f85517fde35d3a8bd927b87f1771 (diff) | |
download | dsub-20b1e4ea96cbc61b3a2cc9d948bf21fe41f7b725.tar.gz dsub-20b1e4ea96cbc61b3a2cc9d948bf21fe41f7b725.tar.bz2 dsub-20b1e4ea96cbc61b3a2cc9d948bf21fe41f7b725.zip |
Update CardView to use themed version of card_rounded_corners (pre-L does not support attr colors)
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/card_rounded_corners_black.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/drawable/card_rounded_corners_dark.xml (renamed from app/src/main/res/drawable/card_rounded_corners.xml) | 2 | ||||
-rw-r--r-- | app/src/main/res/drawable/card_rounded_corners_light.xml | 6 |
3 files changed, 13 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/card_rounded_corners_black.xml b/app/src/main/res/drawable/card_rounded_corners_black.xml new file mode 100644 index 00000000..7592de64 --- /dev/null +++ b/app/src/main/res/drawable/card_rounded_corners_black.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="@color/background_material_dark"/> + <corners android:radius="@dimen/Card.Radius"/> + <padding android:left="0dip" android:top="0dip" android:right="0dip" android:bottom="0dip" /> +</shape>
\ No newline at end of file diff --git a/app/src/main/res/drawable/card_rounded_corners.xml b/app/src/main/res/drawable/card_rounded_corners_dark.xml index 87e84c0d..4db7d4b0 100644 --- a/app/src/main/res/drawable/card_rounded_corners.xml +++ b/app/src/main/res/drawable/card_rounded_corners_dark.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> - <solid android:color="?attr/cardBackgroundColor"/> + <solid android:color="@android:color/black"/> <corners android:radius="@dimen/Card.Radius"/> <padding android:left="0dip" android:top="0dip" android:right="0dip" android:bottom="0dip" /> </shape>
\ No newline at end of file diff --git a/app/src/main/res/drawable/card_rounded_corners_light.xml b/app/src/main/res/drawable/card_rounded_corners_light.xml new file mode 100644 index 00000000..5475c3d6 --- /dev/null +++ b/app/src/main/res/drawable/card_rounded_corners_light.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="@android:color/white"/> + <corners android:radius="@dimen/Card.Radius"/> + <padding android:left="0dip" android:top="0dip" android:right="0dip" android:bottom="0dip" /> +</shape>
\ No newline at end of file |