From 4e3288b2af3a5b1961284d63f49d496194818c97 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 (cherry picked from commit c0789cd6bafc6d5017ee032e6a8f4d2c94744f9c) --- .../list_item_selector_background.xml | 19 +++++++++++++++++++ app/src/main/res/layout/categories_item.xml | 2 +- app/src/main/res/layout/chapters_item.xml | 2 +- .../main/res/layout/migration_source_item.xml | 2 +- .../main/res/layout/reader_chapter_item.xml | 3 +-- app/src/main/res/layout/updates_item.xml | 2 +- 6 files changed, 24 insertions(+), 6 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 000000000..e1b1ed5db --- /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 12a0e39a0..2bbd5b8d1 100755 --- 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/migration_source_item.xml b/app/src/main/res/layout/migration_source_item.xml index c45575590..a02f91533 100644 --- a/app/src/main/res/layout/migration_source_item.xml +++ b/app/src/main/res/layout/migration_source_item.xml @@ -5,7 +5,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" 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">