aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu/edit_post_activity.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-11-11 10:02:52 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-11-11 10:02:52 +0000
commitaa8d0c49c18cf2e6b44f4ee9424742862f101825 (patch)
treed8ad8b86d1df1e6c43e1d76b2cb18b8a02cb1501 /app/src/main/res/menu/edit_post_activity.xml
parent441458b8b2ddae573bc5b473b46765c33e6feb56 (diff)
downloadinfinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar.gz
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar.bz2
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar.lz
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar.xz
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.tar.zst
infinity-for-reddit-aa8d0c49c18cf2e6b44f4ee9424742862f101825.zip
Add an option to preview markdown in several activitys.
Diffstat (limited to 'app/src/main/res/menu/edit_post_activity.xml')
-rw-r--r--app/src/main/res/menu/edit_post_activity.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/res/menu/edit_post_activity.xml b/app/src/main/res/menu/edit_post_activity.xml
index 86ed3845..f6b161ee 100644
--- a/app/src/main/res/menu/edit_post_activity.xml
+++ b/app/src/main/res/menu/edit_post_activity.xml
@@ -2,8 +2,15 @@
<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_edit_post_activity"
+ android:id="@+id/action_preview_edit_post_activity"
android:orderInCategory="1"
+ android:title="@string/action_preview"
+ android:icon="@drawable/ic_preview_24dp"
+ app:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/action_send_edit_post_activity"
+ android:orderInCategory="2"
android:title="@string/action_send"
android:icon="@drawable/ic_send_toolbar_24dp"
app:showAsAction="ifRoom" />