aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/xml/font_preferences.xml
blob: 541c487a83847daa127ec2f65097f3a581c81821 (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>