aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/menu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-24 15:16:01 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-06-24 15:16:01 +0200
commit72a2622c84692f87d528dcff7e356fb38c8b0c4d (patch)
tree57891e7bb43460c65c5f7ed8c84711d663663d30 /src/main/res/menu
parent97fe14c4beadb650b7db8b7752569b50313f3dd7 (diff)
introduced share button in contact details. remove show qr
Diffstat (limited to 'src/main/res/menu')
-rw-r--r--src/main/res/menu/contact_details.xml14
-rw-r--r--src/main/res/menu/muc_details.xml4
2 files changed, 8 insertions, 10 deletions
diff --git a/src/main/res/menu/contact_details.xml b/src/main/res/menu/contact_details.xml
index bd81b6d4..c724a4d2 100644
--- a/src/main/res/menu/contact_details.xml
+++ b/src/main/res/menu/contact_details.xml
@@ -7,16 +7,18 @@
android:orderInCategory="10"
android:showAsAction="always"
android:title="@string/action_edit_contact"/>
+
+ <item
+ android:id="@+id/action_share"
+ android:icon="?attr/icon_share"
+ android:showAsAction="always"
+ android:orderInCategory="15"
+ android:title="@string/share_uri_with"/>
<item
android:id="@+id/action_delete_contact"
- android:icon="?attr/icon_discard"
android:orderInCategory="10"
- android:showAsAction="always"
+ android:showAsAction="never"
android:title="@string/action_delete_contact"/>
- <item
- android:id="@+id/action_show_qr_code"
- android:title="@string/show_qr_code"
- android:showAsAction="never" />
<item
android:id="@+id/action_block"
diff --git a/src/main/res/menu/muc_details.xml b/src/main/res/menu/muc_details.xml
index ad79f577..52fd5b4c 100644
--- a/src/main/res/menu/muc_details.xml
+++ b/src/main/res/menu/muc_details.xml
@@ -15,10 +15,6 @@
android:title="@string/share_uri_with"/>
<item
- android:id="@+id/action_show_qr_code"
- android:showAsAction="never"
- android:title="@string/show_qr_code"/>
- <item
android:id="@+id/action_save_as_bookmark"
android:orderInCategory="80"
android:showAsAction="never"