Skip to content

Commit

Permalink
fixed invites count badge bottom margin on a home screen (#6948)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedrunov authored Aug 29, 2022
1 parent 6af5f9e commit 84d938d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/6947.wip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[App Layout] fixed invites count badge bottom margin on a home screen
14 changes: 12 additions & 2 deletions vector/src/main/res/layout/item_invites_count.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="36sp"
android:background="?vctr_toolbar_background"
android:clickable="true"
android:focusable="true"

tools:viewBindingIgnore="true">

<im.vector.app.features.home.room.list.UnreadCounterBadgeView
Expand Down Expand Up @@ -45,4 +44,15 @@
app:layout_constraintEnd_toStartOf="@id/invites_count_badge"
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>

0 comments on commit 84d938d

Please sign in to comment.