mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
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:
parent
2048b859c5
commit
662e9592a0
1
changelog.d/5468.bugfix
Normal file
1
changelog.d/5468.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fixing room titles overlapping the room image in the room toolbar
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user