浏览代码

Limit quoted message to max 4 lines

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 年之前
父节点
当前提交
72e2310988
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"