aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-07 15:35:18 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-07 15:35:18 +0000
commit40fd7bf40f698b7670003cd28bc8db484c8615dc (patch)
tree4825e924f58b8dced9b569ae8b8fd5f53ebac169 /app/src/main/res/menu
parentba2a219168721680cd6e5e553a35a7cbf2614e22 (diff)
downloadinfinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.gz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.bz2
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.lz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.xz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.zst
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.zip
Prepare to add composing private message feature.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/send_private_message_activity.xml10
-rw-r--r--app/src/main/res/menu/view_user_detail_activity.xml6
2 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/res/menu/send_private_message_activity.xml b/app/src/main/res/menu/send_private_message_activity.xml
new file mode 100644
index 00000000..ba7f4a4f
--- /dev/null
+++ b/app/src/main/res/menu/send_private_message_activity.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+ <item
+ android:id="@+id/action_send_send_private_message_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_send"
+ android:icon="@drawable/ic_send_toolbar_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 18c3ef16..50170f31 100644
--- a/app/src/main/res/menu/view_user_detail_activity.xml
+++ b/app/src/main/res/menu/view_user_detail_activity.xml
@@ -37,4 +37,10 @@
android:orderInCategory="6"
android:title="@string/action_share"
app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_send_private_message_view_user_detail_activity"
+ android:orderInCategory="6"
+ android:title="@string/action_send_private_message"
+ app:showAsAction="never" />
</menu>