diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-01-27 13:50:09 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-01-27 13:50:09 +0000 |
commit | 968519b2ebd2569ed93a4afa6ed07ac46e86db5f (patch) | |
tree | bbad5757550b3906644e3c15a82dc64c7ce8d485 /app/src/main/res/menu/view_post_detail_fragment.xml | |
parent | b6c00df82fbde6d8746eaa78a7e72fb73bfef946 (diff) | |
download | infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar.gz infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar.bz2 infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar.lz infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar.xz infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.tar.zst infinity-for-reddit-968519b2ebd2569ed93a4afa6ed07ac46e86db5f.zip |
Barebone swiping left or right to go to previous or next post in ViewPostDetailActivity.
Diffstat (limited to 'app/src/main/res/menu/view_post_detail_fragment.xml')
-rw-r--r-- | app/src/main/res/menu/view_post_detail_fragment.xml | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/app/src/main/res/menu/view_post_detail_fragment.xml b/app/src/main/res/menu/view_post_detail_fragment.xml new file mode 100644 index 00000000..d9e66bd6 --- /dev/null +++ b/app/src/main/res/menu/view_post_detail_fragment.xml @@ -0,0 +1,102 @@ +<?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_comment_view_post_detail_fragment" + android:orderInCategory="1" + android:title="@string/action_add_comment" + android:icon="@drawable/ic_comment_toolbar_24dp" + app:showAsAction="ifRoom" + android:visible="false" /> + + <item + android:id="@+id/action_save_view_post_detail_fragment" + android:orderInCategory="2" + android:title="@string/action_save_post" + app:showAsAction="ifRoom" + android:visible="false" /> + + <item + android:id="@+id/action_sort_view_post_detail_fragment" + android:orderInCategory="3" + android:title="@string/action_sort" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_refresh_view_post_detail_fragment" + android:orderInCategory="4" + android:title="@string/action_refresh" + app:showAsAction="never" /> + + <item + android:id="@+id/action_view_crosspost_parent_view_post_detail_fragment" + android:orderInCategory="5" + android:title="@string/action_view_crosspost_parent" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_hide_view_post_detail_fragment" + android:orderInCategory="6" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_edit_view_post_detail_fragment" + android:orderInCategory="7" + android:title="@string/action_edit_post" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_delete_view_post_detail_fragment" + android:orderInCategory="8" + android:title="@string/action_delete_post" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_nsfw_view_post_detail_fragment" + android:orderInCategory="9" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_spoiler_view_post_detail_fragment" + android:orderInCategory="10" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_edit_flair_view_post_detail_fragment" + android:orderInCategory="11" + android:title="@string/action_edit_flair" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_give_award_view_post_detail_fragment" + android:orderInCategory="12" + android:title="@string/action_give_award" + app:showAsAction="never" /> + + <item + android:id="@+id/action_report_view_post_detail_fragment" + android:orderInCategory="13" + android:title="@string/action_report" + app:showAsAction="never" /> + + <item + android:id="@+id/action_see_removed_view_post_detail_fragment" + android:orderInCategory="14" + android:title="@string/action_see_removed" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_crosspost_view_post_detail_fragment" + android:orderInCategory="15" + android:title="@string/action_crosspost" + app:showAsAction="never" /> +</menu> |