aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/xml/font_preferences.xml
blob: 83264ea09cc0717ab5642a204708ae3a9dbf0535 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                            



                                                                                           

























































                                                                  
<?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">

    <Preference
        app:title="@string/settings_preview_font_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreviewFragment" />

    <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>