From 97c4f6979b8ea91465433d77c31b9b9ae76ead4e Mon Sep 17 00:00:00 2001 From: Carlos <2092019+CarlosEsco@users.noreply.github.com> Date: Tue, 22 Jun 2021 22:35:04 -0400 Subject: [PATCH] use a badge instead of in library text for list view since it can get cut off (#868) --- .../ui/source/browse/BrowseSourceListHolder.kt | 7 ++----- app/src/main/res/layout/in_library_badge.xml | 12 ++++++++++++ app/src/main/res/layout/manga_list_item.xml | 10 ++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/layout/in_library_badge.xml diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceListHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceListHolder.kt index 5dceb8343e..65cbd1962a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceListHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceListHolder.kt @@ -34,11 +34,8 @@ class BrowseSourceListHolder(private val view: View, adapter: FlexibleAdapter + \ No newline at end of file diff --git a/app/src/main/res/layout/manga_list_item.xml b/app/src/main/res/layout/manga_list_item.xml index f846f20a3e..7a3e181833 100644 --- a/app/src/main/res/layout/manga_list_item.xml +++ b/app/src/main/res/layout/manga_list_item.xml @@ -8,6 +8,16 @@ android:id="@+id/constraint_layout" android:background="@drawable/list_item_selector"> + +