diff options
author | Samuel Holland <samuel@sholland.org> | 2017-07-29 06:39:37 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-07-29 06:39:37 -0500 |
commit | 84e19d6c72f0b6241650de9344b258350dff257e (patch) | |
tree | 1f3a5c82d7d090f0b2011d4a3709e910b69510cc /app/src/main/res/menu | |
parent | 411b0716f2747b6607c7394f5871a2f19824da8d (diff) |
ProfileList: Add a simple menu
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r-- | app/src/main/res/menu/profile_list.xml | 15 |
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> |