From 0a5461cbeaca8bc39eb1d5641cf60c744f7c79b2 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 28 Mar 2020 16:32:34 -0400 Subject: [PATCH] Use pill icon instead of text for sheet pull up indicator --- .../main/res/drawable/ic_drag_pill_24dp.xml | 9 ++++ .../main/res/layout/reader_settings_sheet.xml | 43 +++++++++++-------- app/src/main/res/values/strings.xml | 1 - 3 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 app/src/main/res/drawable/ic_drag_pill_24dp.xml diff --git a/app/src/main/res/drawable/ic_drag_pill_24dp.xml b/app/src/main/res/drawable/ic_drag_pill_24dp.xml new file mode 100644 index 000000000..51aca297e --- /dev/null +++ b/app/src/main/res/drawable/ic_drag_pill_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/reader_settings_sheet.xml b/app/src/main/res/layout/reader_settings_sheet.xml index afbfc49a6..860a73514 100644 --- a/app/src/main/res/layout/reader_settings_sheet.xml +++ b/app/src/main/res/layout/reader_settings_sheet.xml @@ -7,7 +7,28 @@ android:background="?attr/colorSurface" android:clipToPadding="false" android:orientation="vertical" - android:padding="@dimen/material_component_dialogs_padding_around_content_area"> + android:paddingStart="24dp" + android:paddingTop="0dp" + android:paddingEnd="24dp" + android:paddingBottom="24dp"> + + + + @@ -19,23 +40,7 @@ android:textColor="?attr/colorAccent" android:textStyle="bold" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> - - - - + app:layout_constraintTop_toBottomOf="@+id/pull_up_bar" /> + app:layout_constraintTop_toBottomOf="@id/general_prefs" /> There\'s no previous chapter Loading pages… Failed to load pages: %1$s - Pull up for more options %1$s - Ch.%2$s