diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-04 12:24:18 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-04 12:24:18 -0500 |
commit | 81ab643d2bf17b7ac5c70efa6f33e0737969cf85 (patch) | |
tree | ac1c1c04bf6011e2d8f41e8519d212288bfe902a /app/src/main/res/menu/main.xml | |
parent | d0bf3b6b320f2beea79fce284b02747617e5e291 (diff) |
ProfileList: Convert to a fragment
This is required for a future two-fragment tablet layout, and simplifies
the code a bit since the profile detail (view/edit) will be implemented
as fragments anyway.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/menu/main.xml')
-rw-r--r-- | app/src/main/res/menu/main.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml new file mode 100644 index 00000000..96479d08 --- /dev/null +++ b/app/src/main/res/menu/main.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_settings" + android:onClick="onMenuSettings" + android:showAsAction="never" + android:title="@string/settings"/> +</menu> |