Adding unread counter badge view
This commit is contained in:
parent
6bd150d4cd
commit
597081e9a8
|
@ -120,6 +120,28 @@
|
||||||
tools:targetApi="lollipop_mr1"
|
tools:targetApi="lollipop_mr1"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
||||||
|
android:id="@+id/spacesUnreadCounterBadge"
|
||||||
|
style="@style/Widget.Vector.TextView.Micro"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="4dp"
|
||||||
|
android:layout_marginEnd="4dp"
|
||||||
|
android:elevation="15dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:minWidth="16dp"
|
||||||
|
android:minHeight="16dp"
|
||||||
|
android:paddingStart="4dp"
|
||||||
|
android:paddingEnd="4dp"
|
||||||
|
android:textColor="?colorOnError"
|
||||||
|
app:layout_constraintCircle="@id/newLayoutOpenSpacesButton"
|
||||||
|
app:layout_constraintCircleAngle="45"
|
||||||
|
app:layout_constraintCircleRadius="24dp"
|
||||||
|
tools:background="@drawable/bg_unread_highlight"
|
||||||
|
tools:ignore="MissingConstraints"
|
||||||
|
tools:text="147"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
android:id="@+id/newLayoutCreateChatButton"
|
android:id="@+id/newLayoutCreateChatButton"
|
||||||
style="@style/Widget.Vector.FloatingActionButton"
|
style="@style/Widget.Vector.FloatingActionButton"
|
||||||
|
|
Loading…
Reference in New Issue