aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-09-22 15:12:16 +0200
committerChristian Schneppe <christian@pix-art.de>2019-09-22 15:12:16 +0200
commit523f5a14a244c6270130de30f7758a20e6b9aa79 (patch)
treec540e79f7fc9f3082a3cee4ffd05df2e19920a91 /src/main/res
parent541ac49fedd93c1f28d974647145ab3eb686bc13 (diff)
show username as title in context menu when long clicking avatar in MUC
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/menu/muc_details_context.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/res/menu/muc_details_context.xml b/src/main/res/menu/muc_details_context.xml
index 44522cf87..22d99268f 100644
--- a/src/main/res/menu/muc_details_context.xml
+++ b/src/main/res/menu/muc_details_context.xml
@@ -1,62 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
+ android:id="@+id/title"
+ android:checkable="false"
+ android:orderInCategory="1"
+ android:enabled="false"
+ android:visible="false" />
+ <item
android:id="@+id/highlight_in_muc"
+ android:orderInCategory="100"
android:title="@string/highlight_in_muc"
android:visible="false" />
<item
android:id="@+id/start_conversation"
+ android:orderInCategory="100"
android:title="@string/start_conversation"
android:visible="false" />
<item
android:id="@+id/action_contact_details"
+ android:orderInCategory="100"
android:title="@string/action_contact_details"
android:visible="false" />
<item
android:id="@+id/invite"
+ android:orderInCategory="100"
android:title="@string/invite_again"
android:visible="false" />
<item
android:id="@+id/send_private_message"
+ android:orderInCategory="100"
android:title="@string/send_private_message"
android:visible="false" />
<item
android:id="@+id/manage_permissions"
+ android:orderInCategory="100"
android:title="@string/manage_permission"
android:visible="false">
<menu>
<item
android:id="@+id/give_membership"
+ android:orderInCategory="100"
android:title="@string/grant_membership"
android:visible="false" />
<item
android:id="@+id/remove_membership"
+ android:orderInCategory="100"
android:title="@string/remove_membership"
android:visible="false" />
<item
android:id="@+id/give_admin_privileges"
+ android:orderInCategory="100"
android:title="@string/grant_admin_privileges"
android:visible="false" />
<item
android:id="@+id/remove_admin_privileges"
+ android:orderInCategory="100"
android:title="@string/remove_admin_privileges"
android:visible="false" />
<item
android:id="@+id/give_owner_privileges"
+ android:orderInCategory="100"
android:title="@string/grant_owner_privileges"
android:visible="false" />
<item
android:id="@+id/revoke_owner_privileges"
+ android:orderInCategory="100"
android:title="@string/remove_owner_privileges"
android:visible="false" />
</menu>
</item>
<item
android:id="@+id/kick_from_room"
+ android:orderInCategory="100"
android:title="@string/kick_from_room"
android:visible="false" />
<item
android:id="@+id/ban_from_room"
+ android:orderInCategory="100"
android:title="@string/ban_from_conference"
android:visible="false" />
</menu>