From 5b3cadb7a8072bdf5ea054eb93c26ef9451f78ff Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 19 Nov 2021 14:06:43 -0500 Subject: [PATCH] Clean up some tablet dimension values --- app/src/main/res/layout-sw720dp/manga_controller.xml | 2 +- app/src/main/res/values-sw600dp/dimens.xml | 4 ---- app/src/main/res/{values-w820dp => values-sw720dp}/dimens.xml | 2 ++ app/src/main/res/values/dimens.xml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 app/src/main/res/values-sw600dp/dimens.xml rename app/src/main/res/{values-w820dp => values-sw720dp}/dimens.xml (88%) diff --git a/app/src/main/res/layout-sw720dp/manga_controller.xml b/app/src/main/res/layout-sw720dp/manga_controller.xml index e4fa42b14..d90991b0a 100644 --- a/app/src/main/res/layout-sw720dp/manga_controller.xml +++ b/app/src/main/res/layout-sw720dp/manga_controller.xml @@ -26,7 +26,7 @@ app:layout_constraintEnd_toStartOf="@id/chapters_recycler" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintWidth_max="450dp" + app:layout_constraintWidth_max="@dimen/tablet_sidebar_max_width" app:layout_constraintWidth_percent="0.5" tools:itemCount="1" tools:listitem="@layout/manga_info_header" /> diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml deleted file mode 100644 index fc0bcc36e..000000000 --- a/app/src/main/res/values-sw600dp/dimens.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - 24dp - diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-sw720dp/dimens.xml similarity index 88% rename from app/src/main/res/values-w820dp/dimens.xml rename to app/src/main/res/values-sw720dp/dimens.xml index 0b0e8dced..1d4db08e7 100644 --- a/app/src/main/res/values-w820dp/dimens.xml +++ b/app/src/main/res/values-sw720dp/dimens.xml @@ -5,4 +5,6 @@ 64dp 480dp + + 24dp diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 20ebb3855..4e4c2b238 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,6 +1,5 @@ 16dp - 16dp 0dp @@ -15,4 +14,5 @@ 16dp 128dp + 450dp