From 09a24bd9f25df040c69a7871ee26d963e6171ed3 Mon Sep 17 00:00:00 2001 From: Carlos <2092019+CarlosEsco@users.noreply.github.com> Date: Sat, 25 Apr 2020 17:14:48 -0400 Subject: [PATCH] Some Detail UI changes (#217) * slight gradient increase in width adjust more/less/start reading button to have more margin to be padded away from fast scroller * remove title from top app bar --- .../tachiyomi/ui/manga/MangaDetailsController.kt | 2 +- app/src/main/res/layout/manga_header_item.xml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt index 815b921e20..9b8c3a01cb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt @@ -187,7 +187,7 @@ class MangaDetailsController : BaseController, var headerHeight = 0 override fun getTitle(): String? { - return if (toolbarIsColored && !isTablet) manga?.title else null + return null } override fun inflateView(inflater: LayoutInflater, container: ViewGroup): View { diff --git a/app/src/main/res/layout/manga_header_item.xml b/app/src/main/res/layout/manga_header_item.xml index ab4ae410f4..d1556eadcd 100644 --- a/app/src/main/res/layout/manga_header_item.xml +++ b/app/src/main/res/layout/manga_header_item.xml @@ -223,9 +223,9 @@ style="@style/TextAppearance.Regular.Body1.Secondary" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="16dp" + android:layout_marginStart="18dp" android:layout_marginTop="4dp" - android:layout_marginEnd="16dp" + android:layout_marginEnd="18dp" android:clickable="true" android:focusable="true" android:maxLines="3" @@ -238,7 +238,7 @@