From 87748fa80cb165d9bf39f7c5a13079a5f182a3af Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Tue, 29 Mar 2022 17:52:00 -0400 Subject: [PATCH] Use an inset ripple for contact list items. Closes #10786 Co-authored-by: Thore Goebel --- .../rounded_inset_ripple_background.xml | 39 +++++++++++++++++++ .../rounded_inset_ripple_background.xml | 7 ++++ .../contact_selection_invite_action_item.xml | 3 +- .../layout/contact_selection_list_item.xml | 2 +- .../contact_selection_new_group_item.xml | 3 +- 5 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/drawable-v21/rounded_inset_ripple_background.xml create mode 100644 app/src/main/res/drawable/rounded_inset_ripple_background.xml diff --git a/app/src/main/res/drawable-v21/rounded_inset_ripple_background.xml b/app/src/main/res/drawable-v21/rounded_inset_ripple_background.xml new file mode 100644 index 0000000000..cccf562b19 --- /dev/null +++ b/app/src/main/res/drawable-v21/rounded_inset_ripple_background.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/rounded_inset_ripple_background.xml b/app/src/main/res/drawable/rounded_inset_ripple_background.xml new file mode 100644 index 0000000000..0b29e579fe --- /dev/null +++ b/app/src/main/res/drawable/rounded_inset_ripple_background.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/app/src/main/res/layout/contact_selection_invite_action_item.xml b/app/src/main/res/layout/contact_selection_invite_action_item.xml index df13359b0b..148eb5e390 100644 --- a/app/src/main/res/layout/contact_selection_invite_action_item.xml +++ b/app/src/main/res/layout/contact_selection_invite_action_item.xml @@ -5,7 +5,8 @@ android:layout_height="wrap_content" android:minHeight="@dimen/contact_selection_item_height" android:paddingStart="@dimen/dsl_settings_gutter" - android:paddingEnd="@dimen/dsl_settings_gutter"> + android:paddingEnd="@dimen/dsl_settings_gutter" + android:background="@drawable/rounded_inset_ripple_background"> + android:paddingEnd="@dimen/dsl_settings_gutter" + android:background="@drawable/rounded_inset_ripple_background">