diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-06-10 07:43:34 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-06-10 07:43:34 +0000 |
commit | 54a9f241d473765c963161a5c27d9b03d8b42e1e (patch) | |
tree | 4d61203e85a1289a1e08f76d2fc40e67f1298d6c /app/src/main/res/xml/font_preferences.xml | |
parent | 4cd07e3bb61d848590a953a37c8501962e2c0bd8 (diff) | |
download | infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar.gz infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar.bz2 infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar.lz infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar.xz infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.tar.zst infinity-for-reddit-54a9f241d473765c963161a5c27d9b03d8b42e1e.zip |
Changing font is available. Fix subtitle on toolbar being cut if the font is large.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/font_preferences.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app/src/main/res/xml/font_preferences.xml b/app/src/main/res/xml/font_preferences.xml new file mode 100644 index 00000000..317894b0 --- /dev/null +++ b/app/src/main/res/xml/font_preferences.xml @@ -0,0 +1,62 @@ +<?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"> + + <PreferenceCategory + app:title="@string/settings_font_summary" /> + + <ListPreference + app:defaultValue="Default" + android:entries="@array/settings_font_family" + app:entryValues="@array/settings_font_family_values" + app:key="font_family" + app:title="@string/settings_font_family_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" + app:title="@string/settings_font_size_title" + app:useSimpleSummaryProvider="true" /> + + <PreferenceCategory + app:title="@string/settings_title_font_summary" /> + + <ListPreference + app:defaultValue="Default" + android:entries="@array/settings_font_family" + app:entryValues="@array/settings_font_family_values" + app:key="title_font_family" + app:title="@string/settings_title_font_family_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" /> + + <PreferenceCategory + app:title="@string/settings_content_font_summary" /> + + <ListPreference + app:defaultValue="Default" + android:entries="@array/settings_font_family" + app:entryValues="@array/settings_font_family_values" + app:key="content_font_family" + app:title="@string/settings_content_font_family_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 |