diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-09-29 12:34:37 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-09-29 12:34:37 +0000 |
commit | bac1dca855b80d842dc57da53d94dddc064719a7 (patch) | |
tree | 60ea6ae1b2abb0fff750a7e0dc755082a2f98c3f /app/src/main/res/menu | |
parent | 5b5bc1c5b83ceaffb0d20aae1f4d3f51ebfb4623 (diff) | |
download | infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar.gz infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar.bz2 infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar.lz infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar.xz infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.tar.zst infinity-for-reddit-bac1dca855b80d842dc57da53d94dddc064719a7.zip |
Give back lazy mode control to PostFragment instead of activities.
Diffstat (limited to 'app/src/main/res/menu')
8 files changed, 27 insertions, 61 deletions
diff --git a/app/src/main/res/menu/account_posts_activity.xml b/app/src/main/res/menu/account_posts_activity.xml index 96174315..2d8e6578 100644 --- a/app/src/main/res/menu/account_posts_activity.xml +++ b/app/src/main/res/menu/account_posts_activity.xml @@ -8,14 +8,8 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_account_posts_activity" - android:orderInCategory="2" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_account_posts_activity" - android:orderInCategory="3" + android:orderInCategory="2" android:title="@string/action_change_post_layout" app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/account_saved_thing_activity.xml b/app/src/main/res/menu/account_saved_thing_activity.xml index 483c27a3..4efb3689 100644 --- a/app/src/main/res/menu/account_saved_thing_activity.xml +++ b/app/src/main/res/menu/account_saved_thing_activity.xml @@ -9,14 +9,8 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_account_saved_thing_activity" - android:orderInCategory="2" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_account_saved_thing_activity" - android:orderInCategory="3" + android:orderInCategory="2" android:title="@string/action_change_post_layout" app:showAsAction="never" /> </menu> diff --git a/app/src/main/res/menu/filtered_posts_activity.xml b/app/src/main/res/menu/filtered_posts_activity.xml index 6e826b5a..d4414d5b 100644 --- a/app/src/main/res/menu/filtered_posts_activity.xml +++ b/app/src/main/res/menu/filtered_posts_activity.xml @@ -16,14 +16,8 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_filtered_thing_activity" - android:orderInCategory="3" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_filtered_post_activity" - android:orderInCategory="4" + android:orderInCategory="3" android:title="@string/action_change_post_layout" app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml index f4e275bc..c043a812 100644 --- a/app/src/main/res/menu/main_activity.xml +++ b/app/src/main/res/menu/main_activity.xml @@ -25,12 +25,6 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_main_activity" - android:orderInCategory="4" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_main_activity" android:orderInCategory="5" android:title="@string/action_change_post_layout" diff --git a/app/src/main/res/menu/post_fragment.xml b/app/src/main/res/menu/post_fragment.xml new file mode 100644 index 00000000..d29054d3 --- /dev/null +++ b/app/src/main/res/menu/post_fragment.xml @@ -0,0 +1,8 @@ +<?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_lazy_mode_post_fragment" + android:orderInCategory="100" + app:showAsAction="never" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/view_multi_reddit_detail_activity.xml b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml index c214a6d3..aabbdc96 100644 --- a/app/src/main/res/menu/view_multi_reddit_detail_activity.xml +++ b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml @@ -23,26 +23,20 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_view_multi_reddit_detail_activity" - android:orderInCategory="4" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_view_multi_reddit_detail_activity" - android:orderInCategory="5" + android:orderInCategory="4" android:title="@string/action_change_post_layout" app:showAsAction="never" /> <item android:id="@+id/action_edit_view_multi_reddit_detail_activity" - android:orderInCategory="6" + android:orderInCategory="5" android:title="@string/action_edit_multi_reddit" app:showAsAction="never" /> <item android:id="@+id/action_delete_view_multi_reddit_detail_activity" - android:orderInCategory="7" + android:orderInCategory="6" android:title="@string/action_delete_multi_reddit" app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/view_subreddit_detail_activity.xml b/app/src/main/res/menu/view_subreddit_detail_activity.xml index cb92de44..b72aa93f 100644 --- a/app/src/main/res/menu/view_subreddit_detail_activity.xml +++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml @@ -24,44 +24,38 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_view_subreddit_detail_activity" - android:orderInCategory="4" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_view_subreddit_detail_activity" - android:orderInCategory="5" + android:orderInCategory="4" android:title="@string/action_change_post_layout" app:showAsAction="never" /> <item android:id="@+id/action_select_user_flair_view_subreddit_detail_activity" - android:orderInCategory="6" + android:orderInCategory="5" android:title="@string/action_select_user_flair" app:showAsAction="never" /> <item android:id="@+id/action_add_to_multireddit_view_subreddit_detail_activity" - android:orderInCategory="7" + android:orderInCategory="6" android:title="@string/action_add_to_multireddit" app:showAsAction="never" /> <item android:id="@+id/action_add_to_post_filter_view_subreddit_detail_activity" - android:orderInCategory="8" + android:orderInCategory="7" android:title="@string/action_add_to_post_filter" app:showAsAction="never" /> <item android:id="@+id/action_share_view_subreddit_detail_activity" - android:orderInCategory="9" + android:orderInCategory="8" android:title="@string/action_share" app:showAsAction="never" /> <item android:id="@+id/action_go_to_wiki_activity" - android:orderInCategory="10" + android:orderInCategory="9" android:title="@string/action_go_to_wiki" app:showAsAction="never" /> </menu> 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 8d89ff08..437c6e23 100644 --- a/app/src/main/res/menu/view_user_detail_activity.xml +++ b/app/src/main/res/menu/view_user_detail_activity.xml @@ -21,48 +21,42 @@ app:showAsAction="never" /> <item - android:id="@+id/action_lazy_mode_view_user_detail_activity" - android:orderInCategory="4" - android:title="@string/action_start_lazy_mode" - app:showAsAction="never" /> - - <item android:id="@+id/action_change_post_layout_view_user_detail_activity" - android:orderInCategory="5" + android:orderInCategory="4" android:title="@string/action_change_post_layout" app:showAsAction="never" /> <item android:id="@+id/action_send_private_message_view_user_detail_activity" - android:orderInCategory="6" + android:orderInCategory="5" android:title="@string/action_send_private_message" app:showAsAction="never" /> <item android:id="@+id/action_share_view_user_detail_activity" - android:orderInCategory="7" + android:orderInCategory="6" android:title="@string/action_share" app:showAsAction="never" /> <item android:id="@+id/action_add_to_multireddit_view_user_detail_activity" - android:orderInCategory="8" + android:orderInCategory="7" android:title="@string/action_add_to_multireddit" app:showAsAction="never" /> <item android:id="@+id/action_add_to_post_filter_view_user_detail_activity" - android:orderInCategory="9" + android:orderInCategory="8" android:title="@string/action_add_to_post_filter" app:showAsAction="never" /> <item android:id="@+id/action_report_view_user_detail_activity" - android:orderInCategory="10" + android:orderInCategory="9" android:title="@string/action_report" /> <item android:id="@+id/action_block_user_view_user_detail_activity" - android:orderInCategory="11" + android:orderInCategory="10" android:title="@string/action_block_user" /> </menu> |