From 331cbf3696e1900dfc2e77d8b94e9590378bd050 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 16 May 2016 19:52:10 +0200 Subject: 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(+) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 466dd045..e720a6ff 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 fc68c389..be530c5f 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" -- cgit v1.2.3