aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/menu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-11-22 22:31:46 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-11-22 22:31:46 +0100
commit07fe434cc753ee59916adc4bf3c5d5bc03a58bf9 (patch)
tree0d1597cb43c274f700c54af51a025af98635dd10 /src/main/res/menu
parentd2268c6a6f2d95820c16bd14283caffe205c19e2 (diff)
added share button to account details
Diffstat (limited to 'src/main/res/menu')
-rw-r--r--src/main/res/menu/editaccount.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/res/menu/editaccount.xml b/src/main/res/menu/editaccount.xml
index 5df7ee5b..c67e5c47 100644
--- a/src/main/res/menu/editaccount.xml
+++ b/src/main/res/menu/editaccount.xml
@@ -1,5 +1,21 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/action_share"
+ android:title="@string/share_uri_with"
+ android:icon="?attr/icon_share"
+ android:showAsAction="always">
+ <menu>
+ <item
+ android:id="@+id/action_share_barcode"
+ android:title="@string/share_as_barcode"/>
+ <item
+ android:id="@+id/action_share_uri"
+ android:title="@string/share_as_uri"/>
+ <item android:id="@+id/action_share_http"
+ android:title="@string/share_as_http"/>
+ </menu>
+ </item>
+
<item
android:id="@+id/action_change_presence"
android:showAsAction="always"