aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-07-29 06:39:37 -0500
committerSamuel Holland <samuel@sholland.org>2017-07-29 06:39:37 -0500
commitc9add00e9b719065c4889e8f00bae843e50ff924 (patch)
tree1f3a5c82d7d090f0b2011d4a3709e910b69510cc /app/src/main/res/menu
parentProfileList: Toggle connection state on click (diff)
downloadwireguard-android-c9add00e9b719065c4889e8f00bae843e50ff924.tar.xz
wireguard-android-c9add00e9b719065c4889e8f00bae843e50ff924.zip
ProfileList: Add a simple menu
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/profile_list.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/src/main/res/menu/profile_list.xml b/app/src/main/res/menu/profile_list.xml
new file mode 100644
index 00000000..38374560
--- /dev/null
+++ b/app/src/main/res/menu/profile_list.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:alphabeticShortcut="n"
+ android:icon="@drawable/ic_action_add"
+ android:onClick="onMenuNewAction"
+ android:showAsAction="ifRoom"
+ android:title="@string/create" />
+ <item
+ android:alphabeticShortcut="s"
+ android:icon="@drawable/ic_settings"
+ android:onClick="onMenuSettings"
+ android:showAsAction="never"
+ android:title="@string/settings"/>
+</menu>