From c0789cd6bafc6d5017ee032e6a8f4d2c94744f9c Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 12 Sep 2020 15:40:40 -0400 Subject: [PATCH] Use background color for some lists --- .../list_item_selector_background.xml | 19 +++++++++++++++++++ app/src/main/res/layout/categories_item.xml | 2 +- app/src/main/res/layout/chapters_item.xml | 2 +- app/src/main/res/layout/updates_item.xml | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/drawable/list_item_selector_background.xml diff --git a/app/src/main/res/drawable/list_item_selector_background.xml b/app/src/main/res/drawable/list_item_selector_background.xml new file mode 100644 index 0000000000..e1b1ed5db3 --- /dev/null +++ b/app/src/main/res/drawable/list_item_selector_background.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/categories_item.xml b/app/src/main/res/layout/categories_item.xml index 12a0e39a01..2bbd5b8d14 100644 --- a/app/src/main/res/layout/categories_item.xml +++ b/app/src/main/res/layout/categories_item.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height" - android:background="@drawable/list_item_selector"> + android:background="@drawable/list_item_selector_background"> diff --git a/app/src/main/res/layout/updates_item.xml b/app/src/main/res/layout/updates_item.xml index 858356cdd0..36c533b599 100644 --- a/app/src/main/res/layout/updates_item.xml +++ b/app/src/main/res/layout/updates_item.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/material_component_lists_two_line_height" - android:background="@drawable/list_item_selector" + android:background="@drawable/list_item_selector_background" android:paddingEnd="16dp">