diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-14 19:52:48 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-14 19:52:48 +0100 |
commit | 3f12418b601bf626b478d78c488db0ce1041ef08 (patch) | |
tree | 26d20a54ea6d602da96c691f36f46daed9e87153 /src/main/res | |
parent | 21ddcc478f9e8423a5f8e61026cc797592e10858 (diff) |
add 'show avatar' to context menu in chat view
to show a bigger avatar
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/menu/muc_details_context.xml | 5 | ||||
-rw-r--r-- | src/main/res/menu/one_on_one_context.xml | 3 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/main/res/menu/muc_details_context.xml b/src/main/res/menu/muc_details_context.xml index 076dc3652..0fdec97ca 100644 --- a/src/main/res/menu/muc_details_context.xml +++ b/src/main/res/menu/muc_details_context.xml @@ -7,6 +7,11 @@ android:orderInCategory="1" android:visible="false" /> <item + android:id="@+id/action_show_avatar" + android:orderInCategory="99" + android:title="@string/show_avatar" + android:visible="false" /> + <item android:id="@+id/highlight_in_muc" android:orderInCategory="100" android:title="@string/highlight_in_muc" diff --git a/src/main/res/menu/one_on_one_context.xml b/src/main/res/menu/one_on_one_context.xml index 100edff9a..63747a203 100644 --- a/src/main/res/menu/one_on_one_context.xml +++ b/src/main/res/menu/one_on_one_context.xml @@ -1,6 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item + android:id="@+id/action_show_avatar" + android:title="@string/show_avatar" /> + <item android:id="@+id/action_contact_details" android:title="@string/action_contact_details" /> <item diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 51609a777..8f3123dba 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -1003,4 +1003,5 @@ <string name="pref_use_colored_muc_names_summary">Colorize nicknames in group chats or channels like default avatar backgrounds.</string> <string name="pref_use_colored_muc_names">Colorize nicknames</string> <string name="show_videos_images_only">Only images/videos</string> + <string name="show_avatar">Show avatar</string> </resources> |