Browse Source

Limit quoted message to max 4 lines

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
72e2310988
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/src/main/res/layout/item_message_quote.xml

+ 2 - 0
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"