From 331cbf3696e1900dfc2e77d8b94e9590378bd050 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 16 May 2016 19:52:10 +0200 Subject: [PATCH] cap messages after 256 lines in UI --- src/main/res/layout/message_received.xml | 1 + src/main/res/layout/message_sent.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 466dd045a..e720a6ff2 100644 --- a/src/main/res/layout/message_received.xml +++ b/src/main/res/layout/message_received.xml @@ -53,6 +53,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:autoLink="web" + android:maxLines="256" android:textColorLink="@color/white" android:textColor="@color/white" android:textColorHighlight="@color/grey800" diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml index fc68c3894..be530c5fe 100644 --- a/src/main/res/layout/message_sent.xml +++ b/src/main/res/layout/message_sent.xml @@ -54,6 +54,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:autoLink="web" + android:maxLines="256" android:textColorLink="@color/black87" android:textColor="@color/black87" android:textColorHighlight="@color/grey500"