Эх сурвалжийг харах

Limit quoted message to max 4 lines

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 жил өмнө
parent
commit
72e2310988

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