aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorratabb <ratabilabagi@gmail.com>2021-10-30 07:19:35 +0000
committerratabb <ratabilabagi@gmail.com>2021-10-30 07:19:35 +0000
commitb1d8ad5c760746b604b5ee69cebf5b1214986f9b (patch)
tree6ab807e603d094115c14dfba0907508536c948e9 /app/src/main/res/menu
parentefd5f618892a088fc9bc14530bbc1b80d0d9b561 (diff)
downloadinfinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar.gz
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar.bz2
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar.lz
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar.xz
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.tar.zst
infinity-for-reddit-b1d8ad5c760746b604b5ee69cebf5b1214986f9b.zip
feat: add Edit Profile
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/edit_profile_activity.xml11
-rw-r--r--app/src/main/res/menu/view_user_detail_activity.xml5
2 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/res/menu/edit_profile_activity.xml b/app/src/main/res/menu/edit_profile_activity.xml
new file mode 100644
index 00000000..fe96ba20
--- /dev/null
+++ b/app/src/main/res/menu/edit_profile_activity.xml
@@ -0,0 +1,11 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:application="ml.docilealligator.infinityforreddit.activities.EditProfileActivity">
+ <item
+ android:id="@+id/action_save_edit_profile_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_save"
+ android:icon="@drawable/ic_save_to_database_24dp"
+ app:showAsAction="ifRoom" />
+</menu> \ No newline at end of file
diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml
index 437c6e23..ec9128e4 100644
--- a/app/src/main/res/menu/view_user_detail_activity.xml
+++ b/app/src/main/res/menu/view_user_detail_activity.xml
@@ -59,4 +59,9 @@
android:id="@+id/action_block_user_view_user_detail_activity"
android:orderInCategory="10"
android:title="@string/action_block_user" />
+
+ <item
+ android:id="@+id/action_edit_profile_view_user_detail_activity"
+ android:orderInCategory="11"
+ android:title="@string/action_edit_profile" />
</menu>