From fe803a4588dc8d7cd3547181141af3d5f666d42e Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 26 Apr 2020 20:04:05 -0400 Subject: [PATCH] Add bottom padding to library for ActionToolbar --- app/src/main/res/layout/library_grid_recycler.xml | 4 ++++ app/src/main/res/layout/library_list_recycler.xml | 2 ++ app/src/main/res/layout/source_recycler_autofit.xml | 1 + app/src/main/res/layout/updates_controller.xml | 2 +- app/src/main/res/values/dimens.xml | 2 ++ app/src/main/res/values/styles.xml | 1 - 6 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/library_grid_recycler.xml b/app/src/main/res/layout/library_grid_recycler.xml index e19a84cd2..ded61710d 100644 --- a/app/src/main/res/layout/library_grid_recycler.xml +++ b/app/src/main/res/layout/library_grid_recycler.xml @@ -7,4 +7,8 @@ android:layout_height="match_parent" android:clipToPadding="false" android:columnWidth="140dp" + android:paddingStart="5dp" + android:paddingTop="5dp" + android:paddingEnd="5dp" + android:paddingBottom="@dimen/action_toolbar_list_padding" tools:listitem="@layout/source_grid_item" /> diff --git a/app/src/main/res/layout/library_list_recycler.xml b/app/src/main/res/layout/library_list_recycler.xml index 85ea95a84..38f5cfdf6 100644 --- a/app/src/main/res/layout/library_list_recycler.xml +++ b/app/src/main/res/layout/library_list_recycler.xml @@ -4,4 +4,6 @@ android:id="@+id/library_list" android:layout_width="match_parent" android:layout_height="match_parent" + android:clipToPadding="false" + android:paddingBottom="@dimen/action_toolbar_list_padding" tools:listitem="@layout/source_list_item" /> diff --git a/app/src/main/res/layout/source_recycler_autofit.xml b/app/src/main/res/layout/source_recycler_autofit.xml index ef240e4e9..dead2ec4d 100644 --- a/app/src/main/res/layout/source_recycler_autofit.xml +++ b/app/src/main/res/layout/source_recycler_autofit.xml @@ -7,4 +7,5 @@ android:layout_height="match_parent" android:clipToPadding="false" android:columnWidth="140dp" + android:padding="5dp" tools:listitem="@layout/source_grid_item" /> diff --git a/app/src/main/res/layout/updates_controller.xml b/app/src/main/res/layout/updates_controller.xml index 11938417d..bc82734b1 100644 --- a/app/src/main/res/layout/updates_controller.xml +++ b/app/src/main/res/layout/updates_controller.xml @@ -15,7 +15,7 @@ android:layout_height="match_parent" android:clipToPadding="false" android:descendantFocusability="blocksDescendants" - android:paddingBottom="?attr/actionBarSize" + android:paddingBottom="@dimen/action_toolbar_list_padding" tools:listitem="@layout/updates_item" /> 16dp 88dp + 72dp + 24dp 20dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index be625efc5..0b9a2268b 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -164,7 +164,6 @@