diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/res/menu/editaccount.xml | 16 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 3 |
2 files changed, 19 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" diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 591d3dbc..7e829439 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -707,4 +707,7 @@ <string name="verified_fingerprints">Verified fingerprints</string> <string name="use_camera_icon_to_scan_barcode">Use the camera to scan a contacts barcode</string> <string name="please_wait_for_keys_to_be_fetched">Please wait for keys to be fetched</string> + <string name="share_as_barcode">Share as Barcode</string> + <string name="share_as_uri">Share as XMPP URI</string> + <string name="share_as_http">Share as HTTP link</string> </resources> |