From e3048d1eb27381e56ff031eeb27150489d1476e7 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Sun, 26 Jun 2022 10:21:47 +0300 Subject: [PATCH] Compact chapters list --- app/src/main/res/layout/item_chapter.xml | 5 +++-- app/src/main/res/values/dimens.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_chapter.xml b/app/src/main/res/layout/item_chapter.xml index 3998c9fd0..6fe72009e 100644 --- a/app/src/main/res/layout/item_chapter.xml +++ b/app/src/main/res/layout/item_chapter.xml @@ -4,10 +4,11 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="@dimen/chapter_list_item_height" + android:layout_height="wrap_content" android:background="?selectableItemBackground" android:baselineAligned="false" android:gravity="center_vertical" + android:minHeight="@dimen/chapter_list_item_height" android:orientation="horizontal"> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 474c2eb6d..ad8250116 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -15,7 +15,7 @@ 120dp 120dp 4dp - 62dp + 48dp 120dp 48dp 36dp