Fixed chat rooms menu icons while in dark mode
This commit is contained in:
parent
89d072de68
commit
7e391ca518
6 changed files with 33 additions and 5 deletions
7
app/src/main/res/drawable/chat_room_menu_add_contact.xml
Normal file
7
app/src/main/res/drawable/chat_room_menu_add_contact.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<bitmap android:src="@drawable/menu_add_contact"
|
||||
android:tint="?attr/drawableTintColor"/>
|
||||
</item>
|
||||
</selector>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<bitmap android:src="@drawable/menu_notifications_off"
|
||||
android:tint="?attr/drawableTintColor"/>
|
||||
</item>
|
||||
</selector>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<bitmap android:src="@drawable/menu_notifications_on"
|
||||
android:tint="?attr/drawableTintColor"/>
|
||||
</item>
|
||||
</selector>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<bitmap android:src="@drawable/menu_contact"
|
||||
android:tint="?attr/drawableTintColor"/>
|
||||
</item>
|
||||
</selector>
|
|
@ -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"/>
|
||||
|
||||
<ImageView
|
||||
android:visibility="@{viewModel.ephemeralEnabled ? View.VISIBLE : View.GONE, default=gone}"
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
android:onClick="@{addToContactsListener}"
|
||||
style="@style/popup_item_font"
|
||||
android:text="@string/chat_message_context_menu_add_to_contacts"
|
||||
app:drawableRightCompat="@drawable/menu_add_contact" />
|
||||
app:drawableRightCompat="@drawable/chat_room_menu_add_contact" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -75,7 +75,7 @@
|
|||
android:onClick="@{goToContactListener}"
|
||||
style="@style/popup_item_font"
|
||||
android:text="@string/chat_room_context_menu_go_to_contact"
|
||||
app:drawableRightCompat="@drawable/menu_contact" />
|
||||
app:drawableRightCompat="@drawable/chat_room_menu_view_contact" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -115,7 +115,7 @@
|
|||
android:onClick="@{muteListener}"
|
||||
style="@style/popup_item_font"
|
||||
android:text="@string/chat_message_context_menu_turn_off_notifications"
|
||||
app:drawableRightCompat="@drawable/menu_notifications_off" />
|
||||
app:drawableRightCompat="@drawable/chat_room_menu_mute_notifications" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -125,7 +125,7 @@
|
|||
android:onClick="@{unmuteListener}"
|
||||
style="@style/popup_item_font"
|
||||
android:text="@string/chat_message_context_menu_turn_on_notifications"
|
||||
app:drawableRightCompat="@drawable/menu_notifications_on" />
|
||||
app:drawableRightCompat="@drawable/chat_room_menu_unmute_notifications" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in a new issue