[merge] Fix some bubble layout

Change-Id: I472d12d111de2352544c136a17288e54328a3c5d
This commit is contained in:
SpiritCroc 2021-12-23 16:02:35 +01:00
parent 17a8969d80
commit ca8d940c0e
2 changed files with 4 additions and 4 deletions

View File

@ -212,7 +212,7 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder> : AbsBaseMessageItem<H>
// Render send state indicator
if (contentInBubble) {
// Bubbles have their own decoration in the anonymous read receipt (in the message footer)
holder.sendStateImageView.render(SendStateDecoration.NONE)
holder.sendStateImageView.isVisible = false
holder.eventSendingIndicator.isVisible = false
} else {
holder.sendStateImageView.render(attributes.informationData.sendStateDecoration)

View File

@ -83,7 +83,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/messageMemberNameView"
android:layout_marginEnd="8dp"
android:layout_toStartOf="@id/messageSendStateImageView"
android:layout_toEndOf="@id/messageStartGuideline"
android:layout_marginHorizontal="8dp"
@ -99,7 +98,8 @@
android:layout_marginVertical="4dp"
android:clipChildren="false"
android:clipToPadding="false"
tools:background="@drawable/msg_bubble_incoming">
tools:background="@drawable/msg_bubble_text_incoming"
tools:ignore="UselessParent">
<!--
<im.vector.app.core.platform.EllipsizingTextView
@ -254,7 +254,7 @@
android:layout_marginBottom="4dp"
android:contentDescription="@string/event_status_a11y_sending"
android:src="@drawable/ic_sending_message"
android:visibility="invisible"
android:visibility="gone"
tools:tint="?vctr_content_tertiary"
tools:visibility="visible" />