aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-01-13 15:03:28 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-01-13 15:03:28 +0000
commitba546a27e4b8b6e2306a17ba2c10f33b0728842f (patch)
tree35c8a30ce7d0a7c57bbd069b203fb6d8ce4e7cda /app/src/main/res
parentba75ae1f5374228562707beae6305bde675ef983 (diff)
downloadinfinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar.gz
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar.bz2
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar.lz
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar.xz
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.tar.zst
infinity-for-reddit-ba546a27e4b8b6e2306a17ba2c10f33b0728842f.zip
New option: Disable Immersive Interface in Landscape Mode.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/immersive_interface_preferences.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index e096984a..f5410e92 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -359,6 +359,7 @@
<string name="settings_immersive_interface_summary">Does Not Apply to All Pages</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_disable_immersive_interface_in_landscape_mode">Disable Immersive Interface in Landscape Mode</string>
<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>
diff --git a/app/src/main/res/xml/immersive_interface_preferences.xml b/app/src/main/res/xml/immersive_interface_preferences.xml
index 6cd31d84..5897108a 100644
--- a/app/src/main/res/xml/immersive_interface_preferences.xml
+++ b/app/src/main/res/xml/immersive_interface_preferences.xml
@@ -13,4 +13,9 @@
app:title="@string/settings_immersive_interface_ignore_nav_bar_title"
app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="disable_immersive_interface_in_landscape_mode"
+ app:title="@string/settings_disable_immersive_interface_in_landscape_mode"/>
+
</PreferenceScreen> \ No newline at end of file