From fa1d7ffac3a412862ebc9e19256d6f83973115d0 Mon Sep 17 00:00:00 2001 From: Stypox Date: Wed, 9 Jun 2021 15:26:10 +0200 Subject: [PATCH] Const text width for metadata; scrollable tags layout --- app/src/main/res/layout/chip.xml | 2 + app/src/main/res/layout/item_metadata.xml | 12 +--- .../main/res/layout/item_metadata_tags.xml | 58 ++++++------------- 3 files changed, 22 insertions(+), 50 deletions(-) diff --git a/app/src/main/res/layout/chip.xml b/app/src/main/res/layout/chip.xml index f7a55fdf3..41e5223a9 100644 --- a/app/src/main/res/layout/chip.xml +++ b/app/src/main/res/layout/chip.xml @@ -2,8 +2,10 @@ \ No newline at end of file diff --git a/app/src/main/res/layout/item_metadata.xml b/app/src/main/res/layout/item_metadata.xml index 43dce5cfb..e49537c31 100644 --- a/app/src/main/res/layout/item_metadata.xml +++ b/app/src/main/res/layout/item_metadata.xml @@ -7,23 +7,15 @@ android:paddingTop="6dp" android:paddingBottom="6dp"> - - @@ -35,7 +27,7 @@ android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="@+id/guideline" + app:layout_constraintStart_toEndOf="@+id/metadata_type_view" app:layout_constraintTop_toTopOf="parent" tools:text="Description Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed a ultricies ex. Integer sit amet sodales risus. Duis non mi et urna pretium bibendum." /> diff --git a/app/src/main/res/layout/item_metadata_tags.xml b/app/src/main/res/layout/item_metadata_tags.xml index 69225b353..885eae98d 100644 --- a/app/src/main/res/layout/item_metadata_tags.xml +++ b/app/src/main/res/layout/item_metadata_tags.xml @@ -1,46 +1,24 @@ - + android:layout_height="wrap_content" + android:fadeScrollbars="false"> - + app:singleLine="true"> - - - - - - - \ No newline at end of file + + + \ No newline at end of file