From d82732673a222550ced38c95e90c6bbfcb7637ce Mon Sep 17 00:00:00 2001 From: imndx Date: Mon, 15 Jul 2019 22:28:25 +0800 Subject: [PATCH] update layout --- .../res/layout/conversation_item_message_container_receive.xml | 3 +++ .../res/layout/conversation_item_message_container_send.xml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/chat/src/main/res/layout/conversation_item_message_container_receive.xml b/chat/src/main/res/layout/conversation_item_message_container_receive.xml index eb4de1e95..a5de27bde 100644 --- a/chat/src/main/res/layout/conversation_item_message_container_receive.xml +++ b/chat/src/main/res/layout/conversation_item_message_container_receive.xml @@ -49,6 +49,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" + android:ellipsize="end" + android:maxLength="20" + android:singleLine="true" android:text="imndx" android:textColor="#666666" android:textSize="12sp" diff --git a/chat/src/main/res/layout/conversation_item_message_container_send.xml b/chat/src/main/res/layout/conversation_item_message_container_send.xml index 4aec7a3c8..db86918f2 100644 --- a/chat/src/main/res/layout/conversation_item_message_container_send.xml +++ b/chat/src/main/res/layout/conversation_item_message_container_send.xml @@ -78,6 +78,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10dp" + android:ellipsize="end" + android:maxLength="20" + android:singleLine="true" android:text="imndx" android:textColor="#666666" android:textSize="12sp"