diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-08 05:51:38 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-08 05:51:38 -0500 |
commit | 0685d4a1591cac4683e3c6e73024414fdb1739f0 (patch) | |
tree | 10946a6214e0641eb0581b77c9f2bfadc511029f /app/src/main/res/menu | |
parent | 3076fd8c4159aa1ecfcc4860b4bed9a60f4093e9 (diff) |
ProfileActivity: Refactor into clean layers of functionality
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_detail.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/menu/profile_detail_edit.xml | 9 |
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> |