From 25ec8230e18926ee26d5d142a568d8b127a4e55e Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Sat, 6 Oct 2018 06:47:01 +0200 Subject: [PATCH] Fix #220, fix #313 --- app/src/main/res/layout/item_custom_incoming_text_message.xml | 1 + app/src/main/res/layout/item_custom_outcoming_text_message.xml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/item_custom_incoming_text_message.xml b/app/src/main/res/layout/item_custom_incoming_text_message.xml index c7260a47b..7f1a0212e 100644 --- a/app/src/main/res/layout/item_custom_incoming_text_message.xml +++ b/app/src/main/res/layout/item_custom_incoming_text_message.xml @@ -59,6 +59,7 @@ android:id="@id/messageText" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textIsSelectable="true" app:layout_alignSelf="flex_start" app:layout_flexGrow="1" app:layout_wrapBefore="true"/> diff --git a/app/src/main/res/layout/item_custom_outcoming_text_message.xml b/app/src/main/res/layout/item_custom_outcoming_text_message.xml index 15f319d7e..7e90ed32c 100644 --- a/app/src/main/res/layout/item_custom_outcoming_text_message.xml +++ b/app/src/main/res/layout/item_custom_outcoming_text_message.xml @@ -34,8 +34,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" - android:layout_marginLeft="@dimen/message_outcoming_bubble_margin_left" android:layout_marginStart="@dimen/message_outcoming_bubble_margin_left" app:alignContent="stretch" app:alignItems="stretch" @@ -46,6 +44,7 @@ android:id="@id/messageText" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textIsSelectable="true" android:layout_alignWithParentIfMissing="true"/>