diff --git a/res/drawable/contextual_card_background.xml b/res/drawable/contextual_card_background.xml new file mode 100644 index 00000000000..d8b2bbcdcf2 --- /dev/null +++ b/res/drawable/contextual_card_background.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/res/layout/conditional_card_full_tile.xml b/res/layout/conditional_card_full_tile.xml index ee2349827b0..81889fb3efc 100644 --- a/res/layout/conditional_card_full_tile.xml +++ b/res/layout/conditional_card_full_tile.xml @@ -35,7 +35,8 @@ android:paddingTop="@dimen/contextual_condition_full_card_padding_top" android:paddingBottom="@dimen/contextual_condition_full_card_padding_bottom" android:orientation="horizontal" - android:gravity="center_vertical"> + android:gravity="center_vertical" + android:background="?android:attr/selectableItemBackground"> + android:orientation="vertical" + android:background="?android:attr/selectableItemBackground"> - \ No newline at end of file + diff --git a/res/layout/contextual_slice_half_tile.xml b/res/layout/contextual_slice_half_tile.xml index 83b1df7c388..490b0ac8d8e 100644 --- a/res/layout/contextual_slice_half_tile.xml +++ b/res/layout/contextual_slice_half_tile.xml @@ -34,7 +34,7 @@ android:paddingEnd="@dimen/contextual_card_padding_end" android:paddingTop="@dimen/contextual_half_card_padding_top" android:paddingBottom="@dimen/contextual_half_card_padding_bottom" - android:background="@color/contextual_card_background" + android:background="@drawable/contextual_card_background" android:orientation="vertical"> - \ No newline at end of file +