fixing overlapping room image and title (#5469)

- the room title was missing constraints for the different types of leading icons
This commit is contained in:
Adam Brown 2022-03-09 10:11:53 +00:00 committed by GitHub
parent 2048b859c5
commit 662e9592a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

1
changelog.d/5468.bugfix Normal file
View File

@ -0,0 +1 @@
Fixing room titles overlapping the room image in the room toolbar

View File

@ -59,6 +59,13 @@
tools:ignore="MissingConstraints"
tools:visibility="invisible" />
<androidx.constraintlayout.widget.Barrier
android:id="@+id/imageGroupBarrier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="end"
app:constraint_referenced_ids="roomToolbarDecorationImageView,roomToolbarAvatarImageView,roomToolbarPresenceImageView,roomToolbarPublicImageView" />
<TextView
android:id="@+id/roomToolbarTitleView"
android:layout_width="0dp"
@ -72,7 +79,7 @@
app:layout_constraintBottom_toBottomOf="@id/roomToolbarAvatarImageView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@id/roomToolbarDecorationImageView"
app:layout_constraintStart_toEndOf="@id/imageGroupBarrier"
app:layout_constraintTop_toTopOf="@id/roomToolbarAvatarImageView"
app:layout_constraintVertical_chainStyle="packed"
app:layout_goneMarginStart="7dp"