fixed invites count badge bottom margin on a home screen (#6948)

This commit is contained in:
Nikita Fedrunov 2022-08-29 10:17:27 +02:00 committed by GitHub
parent 6af5f9ed7f
commit 84d938da94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

1
changelog.d/6947.wip Normal file
View file

@ -0,0 +1 @@
[App Layout] fixed invites count badge bottom margin on a home screen

View file

@ -3,11 +3,10 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="36sp"
android:background="?vctr_toolbar_background" android:background="?vctr_toolbar_background"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
tools:viewBindingIgnore="true"> tools:viewBindingIgnore="true">
<im.vector.app.features.home.room.list.UnreadCounterBadgeView <im.vector.app.features.home.room.list.UnreadCounterBadgeView
@ -45,4 +44,15 @@
app:layout_constraintEnd_toStartOf="@id/invites_count_badge" app:layout_constraintEnd_toStartOf="@id/invites_count_badge"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/invites_divider"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginStart="22dp"
android:layout_marginEnd="16dp"
android:background="?vctr_list_separator_system"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>