aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-08 05:51:38 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-08 05:51:38 -0500
commitadd6b4c1e8b11e06a68e67960a5f761b189b9401 (patch)
tree10946a6214e0641eb0581b77c9f2bfadc511029f /app/src/main/res/menu
parentProfileServiceInterface: Update for map-based collection (diff)
downloadwireguard-android-add6b4c1e8b11e06a68e67960a5f761b189b9401.tar.xz
wireguard-android-add6b4c1e8b11e06a68e67960a5f761b189b9401.zip
ProfileActivity: Refactor into clean layers of functionality
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/profile_detail.xml9
-rw-r--r--app/src/main/res/menu/profile_detail_edit.xml9
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/menu/profile_detail.xml b/app/src/main/res/menu/profile_detail.xml
new file mode 100644
index 00000000..499adcdb
--- /dev/null
+++ b/app/src/main/res/menu/profile_detail.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:alphabeticShortcut="e"
+ android:icon="@drawable/ic_action_edit"
+ android:onClick="onMenuEdit"
+ android:showAsAction="always"
+ android:title="@string/edit" />
+</menu>
diff --git a/app/src/main/res/menu/profile_detail_edit.xml b/app/src/main/res/menu/profile_detail_edit.xml
new file mode 100644
index 00000000..ad97fcbf
--- /dev/null
+++ b/app/src/main/res/menu/profile_detail_edit.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:alphabeticShortcut="s"
+ android:icon="@drawable/ic_action_save"
+ android:onClick="onMenuSave"
+ android:showAsAction="always"
+ android:title="@string/save" />
+</menu>