aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-04-19 05:03:33 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-04-19 05:03:33 +0000
commit499f507f88283c060ed5538474123b6d5f84bda2 (patch)
tree67c0e4c29c18b947582ab41dc907762486d8cdd0 /app/src/main/res
parent2d60b732a97141ebe2a434c9c6b2ccfe5886a8da (diff)
downloadinfinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar.gz
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar.bz2
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar.lz
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar.xz
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.tar.zst
infinity-for-reddit-499f507f88283c060ed5538474123b6d5f84bda2.zip
Add an option to ignore navigation bar height.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/interface_preference.xml7
2 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2fbdb3c1..6004a940 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -312,6 +312,8 @@
<string name="settings_gestures_and_buttons_title">Gestures &amp; Buttons</string>
<string name="settings_open_link_in_app_title">Open Link In App</string>
<string name="settings_immersive_interface_title">Immersive Interface</string>
+ <string name="settings_immersive_interface_ignore_nav_bar_title">Ignore Navigation Bar in Immersive Interface</string>
+ <string name="settings_immersive_interface_ignore_nav_bar_summary">Prevent the Bottom Navigation Bar Having Extra Padding</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_vote_buttons_on_the_right_title">Vote Buttons on the Right</string>
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml
index c23b977d..8b67a3bc 100644
--- a/app/src/main/res/xml/interface_preference.xml
+++ b/app/src/main/res/xml/interface_preference.xml
@@ -15,6 +15,13 @@
<SwitchPreference
app:defaultValue="false"
+ app:key="immersive_interface_ignore_nav_bar"
+ app:title="@string/settings_immersive_interface_ignore_nav_bar_title"
+ app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary"
+ app:isPreferenceVisible="false" />
+
+ <SwitchPreference
+ app:defaultValue="false"
app:key="bottom_app_bar"
app:title="@string/settings_enable_bottom_app_bar_title"
app:summary="@string/settings_enable_bottom_app_bar_summary" />