From 6b75a691952c9a5737eac68509be1751dceac0c8 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 22 Jul 2016 17:14:48 -0700 Subject: [PATCH] Add non-transparent background to dashboard items. Bug: 30297664 Change-Id: Ia6173e8b0d5852a1c454ae466886f894c72e3e5f --- res/drawable/selectable_card.xml | 22 ++++++++++++++++++++++ res/layout/support_tile.xml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 res/drawable/selectable_card.xml diff --git a/res/drawable/selectable_card.xml b/res/drawable/selectable_card.xml new file mode 100644 index 00000000000..df9ddb13670 --- /dev/null +++ b/res/drawable/selectable_card.xml @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/support_tile.xml b/res/layout/support_tile.xml index 053f7485bbd..e5e49f40fcc 100644 --- a/res/layout/support_tile.xml +++ b/res/layout/support_tile.xml @@ -19,7 +19,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?android:attr/selectableItemBackground" + android:background="@drawable/selectable_card" android:gravity="center_vertical" android:minHeight="@dimen/support_tile_min_height" android:orientation="horizontal">