fix: use a 0dp and layout_weight to solve text preview cutting off status indicator

This commit is contained in:
jubb 2021-02-22 17:01:17 +11:00
parent e89f54a0b9
commit 639ae9ba78

View File

@ -82,7 +82,8 @@
android:layout_marginEnd="6dp" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content">
<TextView
@ -104,11 +105,6 @@
</RelativeLayout>
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<ImageView
android:id="@+id/statusIndicatorImageView"
android:layout_width="@dimen/conversation_view_status_indicator_size"