From 639ae9ba785289e9eccb4c90fd820ef0c1f27048 Mon Sep 17 00:00:00 2001 From: jubb Date: Mon, 22 Feb 2021 17:01:17 +1100 Subject: [PATCH 1/2] fix: use a 0dp and layout_weight to solve text preview cutting off status indicator --- app/src/main/res/layout/view_conversation.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/view_conversation.xml b/app/src/main/res/layout/view_conversation.xml index ef630ee682..324d10c514 100644 --- a/app/src/main/res/layout/view_conversation.xml +++ b/app/src/main/res/layout/view_conversation.xml @@ -82,7 +82,8 @@ android:layout_marginEnd="6dp" /> - - Date: Mon, 22 Feb 2021 17:04:40 +1100 Subject: [PATCH 2/2] fix: use toolsns --- app/src/main/res/layout/view_conversation.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/view_conversation.xml b/app/src/main/res/layout/view_conversation.xml index 324d10c514..3546a3a987 100644 --- a/app/src/main/res/layout/view_conversation.xml +++ b/app/src/main/res/layout/view_conversation.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools" android:background="@drawable/conversation_view_background" android:gravity="center_vertical" android:orientation="horizontal"> @@ -50,7 +51,7 @@ android:textSize="@dimen/medium_font_size" android:textStyle="bold" android:textColor="@color/text" - android:text="I'm a very long display name. What are you going to do about it?" /> + tools:text="I'm a very long display name. What are you going to do about it?" /> + tools:text="Sorry, gotta go fight crime again" />