From 7e391ca5186ca37d24a4a1895d84d2417aa47127 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 2 Jun 2022 14:59:11 +0200 Subject: [PATCH] Fixed chat rooms menu icons while in dark mode --- app/src/main/res/drawable/chat_room_menu_add_contact.xml | 7 +++++++ .../res/drawable/chat_room_menu_mute_notifications.xml | 7 +++++++ .../res/drawable/chat_room_menu_unmute_notifications.xml | 7 +++++++ app/src/main/res/drawable/chat_room_menu_view_contact.xml | 7 +++++++ app/src/main/res/layout/chat_room_list_cell.xml | 2 +- app/src/main/res/layout/chat_room_menu.xml | 8 ++++---- 6 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/chat_room_menu_add_contact.xml create mode 100644 app/src/main/res/drawable/chat_room_menu_mute_notifications.xml create mode 100644 app/src/main/res/drawable/chat_room_menu_unmute_notifications.xml create mode 100644 app/src/main/res/drawable/chat_room_menu_view_contact.xml diff --git a/app/src/main/res/drawable/chat_room_menu_add_contact.xml b/app/src/main/res/drawable/chat_room_menu_add_contact.xml new file mode 100644 index 000000000..474e025f6 --- /dev/null +++ b/app/src/main/res/drawable/chat_room_menu_add_contact.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/app/src/main/res/drawable/chat_room_menu_mute_notifications.xml b/app/src/main/res/drawable/chat_room_menu_mute_notifications.xml new file mode 100644 index 000000000..34f6f8794 --- /dev/null +++ b/app/src/main/res/drawable/chat_room_menu_mute_notifications.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/app/src/main/res/drawable/chat_room_menu_unmute_notifications.xml b/app/src/main/res/drawable/chat_room_menu_unmute_notifications.xml new file mode 100644 index 000000000..e53b378eb --- /dev/null +++ b/app/src/main/res/drawable/chat_room_menu_unmute_notifications.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/app/src/main/res/drawable/chat_room_menu_view_contact.xml b/app/src/main/res/drawable/chat_room_menu_view_contact.xml new file mode 100644 index 000000000..248584507 --- /dev/null +++ b/app/src/main/res/drawable/chat_room_menu_view_contact.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/app/src/main/res/layout/chat_room_list_cell.xml b/app/src/main/res/layout/chat_room_list_cell.xml index cfa8f99a3..e6e8964fe 100644 --- a/app/src/main/res/layout/chat_room_list_cell.xml +++ b/app/src/main/res/layout/chat_room_list_cell.xml @@ -153,7 +153,7 @@ android:layout_height="wrap_content" android:adjustViewBounds="true" android:layout_marginRight="5dp" - android:src="@drawable/menu_notifications_off"/> + android:src="@drawable/chat_room_menu_mute_notifications"/> + app:drawableRightCompat="@drawable/chat_room_menu_add_contact" /> + app:drawableRightCompat="@drawable/chat_room_menu_view_contact" /> + app:drawableRightCompat="@drawable/chat_room_menu_mute_notifications" /> + app:drawableRightCompat="@drawable/chat_room_menu_unmute_notifications" />