From a1bd3402fffdbd0041eaac1d3245847c99b9491c Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 21 May 2020 16:07:33 -0400 Subject: [PATCH] Using image button where possible instead of image view --- .../layout/library_category_header_item.xml | 4 +-- app/src/main/res/layout/manga_header_item.xml | 10 +++--- .../res/layout/rounded_category_hopper.xml | 15 +++++---- app/src/main/res/layout/source_item.xml | 32 +++++++++---------- app/src/main/res/values/styles.xml | 8 ++++- 5 files changed, 39 insertions(+), 30 deletions(-) diff --git a/app/src/main/res/layout/library_category_header_item.xml b/app/src/main/res/layout/library_category_header_item.xml index 08bcca755d..89f75ce887 100644 --- a/app/src/main/res/layout/library_category_header_item.xml +++ b/app/src/main/res/layout/library_category_header_item.xml @@ -118,9 +118,9 @@ app:layout_constraintTop_toTopOf="@id/category_title" tools:text="Drag and Drop" /> - + app:layout_constraintTop_toBottomOf="@id/bottom_line"> + android:paddingEnd="16dp"> - - - - @@ -67,10 +66,10 @@ android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" + android:ellipsize="end" android:maxLines="1" android:paddingStart="0dp" android:paddingEnd="8dp" - android:ellipsize="end" android:textColor="?android:textColorPrimary" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/source_latest" @@ -81,28 +80,29 @@ + android:layout_marginEnd="4dp" + android:letterSpacing="0.0" + android:minWidth="50dp" + android:text="@string/latest" + android:textAllCaps="false" + android:textColor="?colorAccent" + app:layout_constraintEnd_toStartOf="@id/source_pin" /> + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 6f3ddd7fea..dbc54bb53b 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -248,13 +248,19 @@ ?colorAccent + + - +