From 996a630d63be29ea2cdfe60ef3a3dd786b75e2a6 Mon Sep 17 00:00:00 2001 From: Rutvik Rajendra Panchal <39809059+rutvik-panchal@users.noreply.github.com> Date: Wed, 25 Nov 2020 17:55:55 +0530 Subject: [PATCH 01/34] redesign: Fixed UI for no content messages displayed --- .../layout/fragment_destination_download.xml | 13 ++++++------ .../layout/fragment_destination_library.xml | 20 ++++++++++--------- app/src/main/res/values/dimens.xml | 1 + app/src/main/res/values/styles.xml | 10 ---------- core/src/main/res/layout/fragment_reader.xml | 17 ++++++++-------- core/src/main/res/layout/fragment_search.xml | 17 +++++++--------- core/src/main/res/values/dimens.xml | 2 ++ core/src/main/res/values/styles.xml | 8 +++++++- 8 files changed, 43 insertions(+), 45 deletions(-) diff --git a/app/src/main/res/layout/fragment_destination_download.xml b/app/src/main/res/layout/fragment_destination_download.xml index fbe9dd6f7..5e5958598 100644 --- a/app/src/main/res/layout/fragment_destination_download.xml +++ b/app/src/main/res/layout/fragment_destination_download.xml @@ -18,9 +18,9 @@ + android:layout_height="match_parent"> + app:layout_behavior="@string/appbar_scrolling_view_behavior" + tools:listitem="@layout/item_download" /> @@ -56,11 +56,12 @@ + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.45" /> diff --git a/app/src/main/res/layout/fragment_destination_library.xml b/app/src/main/res/layout/fragment_destination_library.xml index b140a7e99..4cb7694fc 100644 --- a/app/src/main/res/layout/fragment_destination_library.xml +++ b/app/src/main/res/layout/fragment_destination_library.xml @@ -19,9 +19,10 @@ + android:fitsSystemWindows="true"> + android:layout_height="match_parent" + tools:listitem="@layout/item_book" /> - + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.45" />