From 6ba29d32d8c447d1176738c1450ba289efa66eb4 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 8 May 2020 02:18:57 -0400 Subject: [PATCH] Better blending of chapter list when expaning reader chapter sheet --- .../drawable/transparent_item_selector.xml | 22 +++++++++++++++++++ .../main/res/layout/reader_chapter_item.xml | 2 +- .../main/res/layout/reader_chapters_sheet.xml | 4 +++- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable/transparent_item_selector.xml diff --git a/app/src/main/res/drawable/transparent_item_selector.xml b/app/src/main/res/drawable/transparent_item_selector.xml new file mode 100644 index 0000000000..58f4b17c2c --- /dev/null +++ b/app/src/main/res/drawable/transparent_item_selector.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/reader_chapter_item.xml b/app/src/main/res/layout/reader_chapter_item.xml index e838909501..8956dfd6e0 100644 --- a/app/src/main/res/layout/reader_chapter_item.xml +++ b/app/src/main/res/layout/reader_chapter_item.xml @@ -4,7 +4,7 @@ android:id="@+id/reader_chapter_layout" android:layout_width="match_parent" android:layout_height="60dp" - android:background="@drawable/list_item_selector" + android:background="@drawable/transparent_item_selector" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/reader_chapters_sheet.xml b/app/src/main/res/layout/reader_chapters_sheet.xml index f9c026643b..9c2e5afbc6 100644 --- a/app/src/main/res/layout/reader_chapters_sheet.xml +++ b/app/src/main/res/layout/reader_chapters_sheet.xml @@ -14,6 +14,8 @@ \ No newline at end of file