aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-22 09:01:25 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-22 09:01:25 +0000
commitd4fc671605df4d7e25a84a47fcc12d3a1d7423e3 (patch)
tree1fd5ce4fb60540b96619449bc13bce4e7558d704 /app/src/main/res/menu
parent5f7bfd88b7b525a503065842140a71c491c201fc (diff)
downloadinfinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar.gz
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar.bz2
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar.lz
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar.xz
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.tar.zst
infinity-for-reddit-d4fc671605df4d7e25a84a47fcc12d3a1d7423e3.zip
Saving and unsaving post are now available. Disable commenting and replying for locked posts in last commit.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/view_post_detail_activity.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/app/src/main/res/menu/view_post_detail_activity.xml b/app/src/main/res/menu/view_post_detail_activity.xml
index f8c546f0..756f51b7 100644
--- a/app/src/main/res/menu/view_post_detail_activity.xml
+++ b/app/src/main/res/menu/view_post_detail_activity.xml
@@ -9,40 +9,47 @@
app:showAsAction="ifRoom" />
<item
- android:id="@+id/action_refresh_view_post_detail_activity"
+ android:id="@+id/action_save_view_post_detail_activity"
android:orderInCategory="2"
+ android:title="@string/action_add_comment"
+ app:showAsAction="ifRoom"
+ android:visible="false" />
+
+ <item
+ android:id="@+id/action_refresh_view_post_detail_activity"
+ android:orderInCategory="3"
android:title="@string/action_refresh"
app:showAsAction="never" />
<item
android:id="@+id/action_edit_view_post_detail_activity"
- android:orderInCategory="3"
+ android:orderInCategory="4"
android:title="@string/action_edit_post"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_delete_view_post_detail_activity"
- android:orderInCategory="4"
+ android:orderInCategory="5"
android:title="@string/action_delete_post"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_nsfw_view_post_detail_activity"
- android:orderInCategory="5"
+ android:orderInCategory="6"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_spoiler_view_post_detail_activity"
- android:orderInCategory="6"
+ android:orderInCategory="7"
app:showAsAction="never"
android:visible="false" />
<item
android:id="@+id/action_edit_flair_view_post_detail_activity"
- android:orderInCategory="7"
+ android:orderInCategory="8"
android:title="@string/action_edit_flair"
app:showAsAction="never"
android:visible="false" />