From 9917787d6f5d2e53d97ea66341e1bc848ec83230 Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Fri, 22 Jul 2022 18:27:02 +0300 Subject: [PATCH] Return maxLines, but value a bit more --- app/src/main/res/layout-w600dp/fragment_details.xml | 4 ++-- app/src/main/res/layout/fragment_details.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout-w600dp/fragment_details.xml b/app/src/main/res/layout-w600dp/fragment_details.xml index 591c31b99..da0609645 100644 --- a/app/src/main/res/layout-w600dp/fragment_details.xml +++ b/app/src/main/res/layout-w600dp/fragment_details.xml @@ -56,7 +56,7 @@ android:layout_marginHorizontal="16dp" android:layout_marginTop="16dp" android:ellipsize="end" - android:maxLines="3" + android:maxLines="4" android:textAppearance="?attr/textAppearanceHeadlineSmall" tools:text="@tools:sample/lorem[15]" /> @@ -259,4 +259,4 @@ - \ No newline at end of file + diff --git a/app/src/main/res/layout/fragment_details.xml b/app/src/main/res/layout/fragment_details.xml index 100a891c0..22b45f4d5 100644 --- a/app/src/main/res/layout/fragment_details.xml +++ b/app/src/main/res/layout/fragment_details.xml @@ -46,6 +46,7 @@ android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" + android:maxLines="5" android:ellipsize="end" android:textAppearance="?attr/textAppearanceHeadlineSmall" app:layout_constraintEnd_toEndOf="parent"