aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-12 14:48:51 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-12 14:48:51 +0000
commitd3d8fd66be81242792424f33c5b655c7dc9cd36e (patch)
treee9aecd58ffe0d99d052801635973591509970076 /app/src/main/res/values
parent0f7b10fa14af39eb591eb37c786037c88ea65837 (diff)
downloadinfinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar.gz
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar.bz2
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar.lz
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar.xz
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.tar.zst
infinity-for-reddit-d3d8fd66be81242792424f33c5b655c7dc9cd36e.zip
Customize bottom navigation bar in anonymous mode.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/arrays.xml58
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 58 insertions, 1 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index b375ec21..1573c6da 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -295,6 +295,34 @@
<item>@string/go_to_top</item>
</string-array>
+ <string-array name="settings_main_activity_bottom_app_bar_options_anonymous">
+ <item>@string/subscriptions</item>
+ <item>@string/multi_reddits</item>
+ <item>@string/refresh</item>
+ <item>@string/change_sort_type</item>
+ <item>@string/change_post_layout</item>
+ <item>@string/search</item>
+ <item>@string/go_to_subreddit</item>
+ <item>@string/go_to_user</item>
+ <item>@string/random</item>
+ <item>@string/filter_posts</item>
+ <item>@string/go_to_top</item>
+ </string-array>
+
+ <string-array name="settings_main_activity_bottom_app_bar_options_anonymous_values">
+ <item>0</item>
+ <item>1</item>
+ <item>5</item>
+ <item>6</item>
+ <item>7</item>
+ <item>8</item>
+ <item>9</item>
+ <item>10</item>
+ <item>11</item>
+ <item>13</item>
+ <item>19</item>
+ </string-array>
+
<string-array name="settings_other_activities_bottom_app_bar_options">
<item>@string/home</item>
<item>@string/subscriptions</item>
@@ -319,6 +347,36 @@
<item>@string/go_to_top</item>
</string-array>
+ <string-array name="settings_other_activities_bottom_app_bar_options_anonymous">
+ <item>@string/home</item>
+ <item>@string/subscriptions</item>
+ <item>@string/multi_reddits</item>
+ <item>@string/refresh</item>
+ <item>@string/change_sort_type</item>
+ <item>@string/change_post_layout</item>
+ <item>@string/search</item>
+ <item>@string/go_to_subreddit</item>
+ <item>@string/go_to_user</item>
+ <item>@string/random</item>
+ <item>@string/filter_posts</item>
+ <item>@string/go_to_top</item>
+ </string-array>
+
+ <string-array name="settings_other_activities_bottom_app_bar_options_anonymous_values">
+ <item>0</item>
+ <item>1</item>
+ <item>4</item>
+ <item>6</item>
+ <item>7</item>
+ <item>8</item>
+ <item>9</item>
+ <item>10</item>
+ <item>11</item>
+ <item>12</item>
+ <item>14</item>
+ <item>20</item>
+ </string-array>
+
<string-array name="settings_bottom_app_bar_fab_options">
<item>@string/submit_post</item>
<item>@string/refresh</item>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 042fe4fa..7b4121f5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -382,7 +382,6 @@
<string name="settings_customize_tabs_in_main_page_title">Customize Tabs in Main Page</string>
<string name="only_for_logged_in_user">Only for Logged-in User</string>
<string name="settings_enable_bottom_app_bar_title">Enable Bottom Navigation</string>
- <string name="settings_enable_bottom_app_bar_summary">Has No Effect in Anonymous Mode</string>
<string name="settings_category_post_and_comment_title">Post and Comment</string>
<string name="settings_vote_buttons_on_the_right_title">Vote Buttons on the Right</string>
<string name="settings_volume_keys_navigate_comments_title">Use Volume Keys to Navigate Comments in Posts</string>