diff --git a/changelog.d/4640.bugfix b/changelog.d/4640.bugfix new file mode 100644 index 0000000000..f5fa5a5bde --- /dev/null +++ b/changelog.d/4640.bugfix @@ -0,0 +1 @@ +Right align the notifications badge in the rooms list (and DMs) so that it's always in a consistent place on the screen. \ No newline at end of file diff --git a/library/ui-styles/src/main/res/values/colors.xml b/library/ui-styles/src/main/res/values/colors.xml index ca6f6d3142..48ac48a8ca 100644 --- a/library/ui-styles/src/main/res/values/colors.xml +++ b/library/ui-styles/src/main/res/values/colors.xml @@ -58,9 +58,9 @@ - #FF61708B - #FF61708B - #FF61708B + @color/palette_gray_200 + @color/palette_gray_250 + @color/palette_gray_250 @android:color/white diff --git a/vector/src/main/res/layout/item_room.xml b/vector/src/main/res/layout/item_room.xml index defff5eeeb..68e3a85008 100644 --- a/vector/src/main/res/layout/item_room.xml +++ b/vector/src/main/res/layout/item_room.xml @@ -165,7 +165,6 @@ android:visibility="gone" app:layout_constraintBottom_toBottomOf="@id/roomNameView" app:layout_constraintEnd_toStartOf="@id/roomLastEventTimeView" - app:layout_constraintStart_toEndOf="@id/roomDraftBadge" app:layout_constraintTop_toTopOf="@id/roomNameView" tools:background="@drawable/bg_unread_highlight" tools:text="4" @@ -190,9 +189,9 @@ android:layout_height="wrap_content" android:layout_marginTop="3dp" android:layout_marginEnd="8dp" - android:textAlignment="viewStart" android:ellipsize="end" android:maxLines="2" + android:textAlignment="viewStart" android:textColor="?vctr_content_secondary" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@id/roomNameView" @@ -203,12 +202,12 @@ android:id="@+id/roomTypingView" style="@style/Widget.Vector.TextView.Body" android:layout_width="0dp" - android:textAlignment="viewStart" android:layout_height="wrap_content" android:layout_marginTop="3dp" android:layout_marginEnd="8dp" android:ellipsize="end" android:maxLines="2" + android:textAlignment="viewStart" android:textColor="?colorPrimary" android:textStyle="bold" app:layout_constraintEnd_toEndOf="parent"