aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/immersive_interface_preferences.xml17
-rw-r--r--app/src/main/res/xml/interface_preference.xml18
2 files changed, 24 insertions, 11 deletions
diff --git a/app/src/main/res/xml/immersive_interface_preferences.xml b/app/src/main/res/xml/immersive_interface_preferences.xml
new file mode 100644
index 00000000..962faa10
--- /dev/null
+++ b/app/src/main/res/xml/immersive_interface_preferences.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="immersive_interface"
+ app:title="@string/settings_immersive_interface_title"
+ app:isPreferenceVisible="false" />
+
+ <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" />
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml
index 1d77970c..d2525eb6 100644
--- a/app/src/main/res/xml/interface_preference.xml
+++ b/app/src/main/res/xml/interface_preference.xml
@@ -7,18 +7,9 @@
app:icon="@drawable/ic_font_size_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreferenceFragment" />
- <SwitchPreference
- app:defaultValue="true"
- app:key="immersive_interface"
+ <Preference
app:title="@string/settings_immersive_interface_title"
- app:isPreferenceVisible="false" />
-
- <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" />
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" />
<Preference
app:title="@string/settings_customize_tabs_in_main_page_title"
@@ -56,6 +47,11 @@
<SwitchPreference
app:defaultValue="false"
+ app:key="show_thumbnail_on_the_right_in_compact_layout"
+ app:title="@string/settings_show_thumbnail_on_the_right_in_compact_layout" />
+
+ <SwitchPreference
+ app:defaultValue="false"
app:key="show_top_level_comments_first"
app:title="@string/settings_show_top_level_comments_first_title" />