From d7fdbe69a2143fc499a89e6178007a71dff0d98e Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 12 Feb 2025 15:01:51 +0100 Subject: [PATCH] fix: limit bottom sheet titles to two lines --- app/src/main/res/layout/bottom_sheet.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/bottom_sheet.xml b/app/src/main/res/layout/bottom_sheet.xml index 4dab7eb3f..cf266cfa9 100644 --- a/app/src/main/res/layout/bottom_sheet.xml +++ b/app/src/main/res/layout/bottom_sheet.xml @@ -2,7 +2,8 @@ + android:layout_height="match_parent" + xmlns:tools="http://schemas.android.com/tools"> + android:visibility="gone" + tools:visibility="visible"> + android:maxLines="2" + android:ellipsize="end" + android:textSize="27sp" + tools:text="Very long text that is going across more than two lines in total"/>