Fix sender name clipping in text-only incoming messages.

Resolves signalapp/Signal-Android#14646
This commit is contained in:
jeffrey-signal
2026-03-27 14:47:34 -04:00
committed by Alex Hart
parent abe0b2ebca
commit a0a962a94f
2 changed files with 17 additions and 10 deletions

View File

@@ -96,7 +96,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/message_bubble_top_padding"
android:layout_marginBottom="@dimen/message_bubble_top_image_margin"
android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">

View File

@@ -103,16 +103,24 @@
app:layout_goneMarginStart="16dp"
tools:background="@color/black">
<org.thoughtcrime.securesms.conversation.v2.items.SenderNameWithLabelView
android:id="@+id/group_sender_name_with_label"
<FrameLayout
android:id="@+id/group_sender_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/message_bubble_top_padding"
android:layout_marginBottom="1dp"
android:paddingStart="@dimen/message_bubble_horizontal_padding"
android:paddingEnd="@dimen/message_bubble_horizontal_padding"
android:visibility="gone"
tools:visibility="visible" />
android:layout_height="wrap_content">
<org.thoughtcrime.securesms.conversation.v2.items.SenderNameWithLabelView
android:id="@+id/group_sender_name_with_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/message_bubble_top_padding"
android:layout_marginBottom="1dp"
android:paddingStart="@dimen/message_bubble_horizontal_padding"
android:paddingEnd="@dimen/message_bubble_horizontal_padding"
android:visibility="gone"
tools:visibility="visible" />
</FrameLayout>
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
android:id="@+id/conversation_item_body"