diff --git a/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomCategoryItem.kt b/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomCategoryItem.kt index 130de7278c..7b14ab433c 100644 --- a/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomCategoryItem.kt +++ b/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomCategoryItem.kt @@ -43,7 +43,7 @@ abstract class RoomCategoryItem : VectorEpoxyModel() { DrawableCompat.setTint(it, tintColor) } holder.unreadCounterBadgeView.render(UnreadCounterBadgeView.State(unreadNotificationCount, showHighlighted)) - holder.titleView.setCompoundDrawablesWithIntrinsicBounds(expandedArrowDrawable, null, null, null) + holder.titleView.setCompoundDrawablesWithIntrinsicBounds(null, null, expandedArrowDrawable, null) holder.titleView.text = title holder.rootView.setOnClickListener { listener?.invoke() } } diff --git a/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomSummaryController.kt b/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomSummaryController.kt index c9724bf971..b06cb8a4bb 100644 --- a/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomSummaryController.kt +++ b/vector/src/main/java/im/vector/riotx/features/home/room/list/RoomSummaryController.kt @@ -141,7 +141,7 @@ class RoomSummaryController @Inject constructor(private val stringProvider: Stri val showHighlighted = summaries.any { it.highlightCount > 0 } roomCategoryItem { id(titleRes) - title(stringProvider.getString(titleRes).toUpperCase()) + title(stringProvider.getString(titleRes)) expanded(isExpanded) unreadNotificationCount(unreadCount) showHighlighted(showHighlighted) diff --git a/vector/src/main/res/layout/item_room_category.xml b/vector/src/main/res/layout/item_room_category.xml index 38c315aff5..519fbb7131 100644 --- a/vector/src/main/res/layout/item_room_category.xml +++ b/vector/src/main/res/layout/item_room_category.xml @@ -4,33 +4,32 @@ android:id="@+id/roomCategoryRootView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?riotx_header_panel_background" + android:background="?riotx_background" android:clickable="true" android:focusable="true" + android:foreground="?attr/selectableItemBackground" android:gravity="center_vertical" android:orientation="horizontal" - android:paddingStart="@dimen/layout_horizontal_margin" - android:paddingLeft="@dimen/layout_horizontal_margin" - android:paddingTop="@dimen/layout_vertical_margin" + android:paddingStart="8dp" + android:paddingLeft="8dp" + android:paddingTop="12dp" android:paddingEnd="@dimen/layout_horizontal_margin" - android:foreground="?attr/selectableItemBackground" android:paddingRight="@dimen/layout_horizontal_margin" - android:paddingBottom="8dp"> + android:paddingBottom="4dp"> ADMIN TOOLS CALL - DIRECT CHATS + Direct Messages SESSIONS Invite