aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/font_preferences.xml
blob: 541c487a83847daa127ec2f65097f3a581c81821 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?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>