diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-10 20:17:37 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-10 20:17:37 -0700 |
commit | 2b079541a39f08be590cb2b37e2d401edcb4f13e (patch) | |
tree | 7b1e2b1cf90dd845a47d9d78f6906a2d9473878b /res/menu | |
parent | f064378307cf651c1f0cb82a36b81099b4db7401 (diff) | |
download | dsub-2b079541a39f08be590cb2b37e2d401edcb4f13e.tar.gz dsub-2b079541a39f08be590cb2b37e2d401edcb4f13e.tar.bz2 dsub-2b079541a39f08be590cb2b37e2d401edcb4f13e.zip |
#171 Add ability to change email, email/password to UserFragment
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/admin_context.xml | 4 | ||||
-rw-r--r-- | res/menu/user.xml | 10 | ||||
-rw-r--r-- | res/menu/user_user.xml | 14 |
3 files changed, 28 insertions, 0 deletions
diff --git a/res/menu/admin_context.xml b/res/menu/admin_context.xml index 8cd04859..922a24a9 100644 --- a/res/menu/admin_context.xml +++ b/res/menu/admin_context.xml @@ -3,6 +3,10 @@ xmlns:compat="http://schemas.android.com/apk/res-auto">
<item
+ android:id="@+id/admin_change_email"
+ android:title="@string/admin.change_email"/>
+
+ <item
android:id="@+id/admin_change_password"
android:title="@string/admin.change_password"/>
diff --git a/res/menu/user.xml b/res/menu/user.xml index ace011b1..aea881fc 100644 --- a/res/menu/user.xml +++ b/res/menu/user.xml @@ -9,6 +9,16 @@ compat:showAsAction="always|withText"/>
<item
+ android:id="@+id/menu_change_password"
+ android:title="@string/admin.change_password"
+ android:icon="?attr/password"
+ compat:showAsAction="always|withText"/>
+
+ <item
+ android:id="@+id/menu_change_email"
+ android:title="@string/admin.change_email"/>
+
+ <item
android:id="@+id/menu_exit"
android:title="@string/menu.exit"/>
</menu>
\ No newline at end of file diff --git a/res/menu/user_user.xml b/res/menu/user_user.xml new file mode 100644 index 00000000..f66aa793 --- /dev/null +++ b/res/menu/user_user.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:compat="http://schemas.android.com/apk/res-auto">
+
+ <item
+ android:id="@+id/menu_change_password"
+ android:title="@string/admin.change_password"
+ android:icon="?attr/password"
+ compat:showAsAction="always|withText"/>
+
+ <item
+ android:id="@+id/menu_exit"
+ android:title="@string/menu.exit"/>
+</menu>
\ No newline at end of file |