From 9bb3195bca1ef320ac78a1a6dc55e9a0c22b6bfd Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 8 Jan 2020 21:33:10 -0500 Subject: [PATCH] Remove up/down animation for FAB, add list padding (#2456) e411f542 arkon Jan 8, 2020 at 21:33 --- app/src/main/res/layout/categories_controller.xml | 9 +++++---- app/src/main/res/layout/chapters_controller.xml | 2 ++ app/src/main/res/values/dimens.xml | 4 +++- app/src/main/res/values/styles.xml | 1 - 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/categories_controller.xml b/app/src/main/res/layout/categories_controller.xml index 9bc79a6c3..3c35a132c 100644 --- a/app/src/main/res/layout/categories_controller.xml +++ b/app/src/main/res/layout/categories_controller.xml @@ -6,12 +6,13 @@ android:layout_height="match_parent"> + android:paddingBottom="@dimen/fab_list_padding" + android:clipToPadding="false" + tools:listitem="@layout/categories_item" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/chapters_controller.xml b/app/src/main/res/layout/chapters_controller.xml index 2f2d19d56..7be42a762 100644 --- a/app/src/main/res/layout/chapters_controller.xml +++ b/app/src/main/res/layout/chapters_controller.xml @@ -28,6 +28,8 @@ android:layout_height="match_parent" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" + android:paddingBottom="@dimen/fab_list_padding" + android:clipToPadding="false" android:descendantFocusability="blocksDescendants" tools:listitem="@layout/chapters_item"> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 77114a247..7fecaa561 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -6,9 +6,11 @@ 16dp 16dp 16dp - 16dp 4dp + 56dp + 16dp + 88dp 24dp 20dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d52818314..982a939c0 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -145,7 +145,6 @@ fitCenter bottom|right|end @color/md_white_1000 - eu.kanade.tachiyomi.widget.FABAnimationUpDown