From 72e231098801f9c8c22a677464e3d3a5997ea4fc Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Wed, 24 May 2023 09:52:30 +0200 Subject: [PATCH] Limit quoted message to max 4 lines Signed-off-by: Andy Scherzinger --- app/src/main/res/layout/item_message_quote.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/item_message_quote.xml b/app/src/main/res/layout/item_message_quote.xml index 07ed0d414..0200d3cb2 100644 --- a/app/src/main/res/layout/item_message_quote.xml +++ b/app/src/main/res/layout/item_message_quote.xml @@ -85,7 +85,9 @@ android:layout_height="wrap_content" android:layout_below="@id/quotedMessageImage" android:layout_alignStart="@id/quotedMessageAuthor" + android:ellipsize="end" android:lineSpacingMultiplier="1.2" + android:maxLines="4" android:textAlignment="viewStart" android:textColor="@color/high_emphasis_text" android:textIsSelectable="false"