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/font_size_preferences.xml29
-rw-r--r--app/src/main/res/xml/main_preferences.xml8
2 files changed, 31 insertions, 6 deletions
diff --git a/app/src/main/res/xml/font_size_preferences.xml b/app/src/main/res/xml/font_size_preferences.xml
new file mode 100644
index 00000000..40695b92
--- /dev/null
+++ b/app/src/main/res/xml/font_size_preferences.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <ListPreference
+ app:defaultValue="Normal"
+ android:entries="@array/settings_font_size"
+ app:entryValues="@array/settings_font_size_values"
+ app:key="font_size"
+ app:title="@string/settings_font_size_title"
+ app:useSimpleSummaryProvider="true" />
+
+ <ListPreference
+ app:defaultValue="Normal"
+ android:entries="@array/settings_title_font_size"
+ app:entryValues="@array/settings_title_font_size_values"
+ app:key="title_font_size"
+ app:title="@string/settings_title_font_size_title"
+ app:useSimpleSummaryProvider="true" />
+
+ <ListPreference
+ app:defaultValue="Normal"
+ android:entries="@array/settings_content_font_size"
+ app:entryValues="@array/settings_content_font_size_values"
+ app:key="content_font_size"
+ app:title="@string/settings_content_font_size_title"
+ app:useSimpleSummaryProvider="true" />
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index e1f8a0a0..6567eb1b 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -24,13 +24,9 @@
app:title="@string/settings_lazy_mode_interval_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
- app:defaultValue="Normal"
- android:entries="@array/settings_font_size"
- app:entryValues="@array/settings_font_size_values"
- app:key="font_size"
+ <Preference
app:title="@string/settings_font_size_title"
- app:useSimpleSummaryProvider="true" />
+ app:fragment="Settings.FontSizePreferenceFragment" />
<SwitchPreference
app:defaultValue="false"