aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/miscellaneous_preferences.xml
blob: 1ae7ed8f02225bd080f15ebfa57644ce65bfa337 (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
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="save_front_page_scrolled_position"
        app:title="@string/settings_save_front_page_scrolled_position_title"
        app:summary="@string/settings_save_front_page_scrolled_position_summary" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="0"
        app:entries="@array/link_handler"
        app:entryValues="@array/link_handler_values"
        app:icon="@drawable/ic_link"
        app:key="link_handler"
        app:title="@string/settings_link_handler_title"
        app:useSimpleSummaryProvider="true" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="0"
        app:entries="@array/main_page_back_button_action"
        app:entryValues="@array/main_page_back_button_action_values"
        app:key="main_page_back_button_action"
        app:icon="@drawable/ic_exit_24dp"
        app:title="@string/settings_main_page_back_button_action"
        app:useSimpleSummaryProvider="true" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="true"
        app:key="enable_search_history"
        app:title="@string/settings_enable_search_history_title"
        app:summary="@string/only_for_logged_in_user" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="auto"
        app:entries="@array/settings_language"
        app:entryValues="@array/settings_language_values"
        app:key="language"
        app:icon="@drawable/ic_language_24dp"
        app:title="@string/settings_language_title"
        app:useSimpleSummaryProvider="true" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
        app:title="@string/settings_miscellaneous_dangerous_group_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:icon="@drawable/ic_info_preference_24dp"
        app:summary="@string/settings_post_feed_max_resolution_warning_title"
        app:enabled="false" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontEditTextPreference
        app:defaultValue="5000000"
        app:key="post_feed_max_resolution"
        app:title="@string/settings_post_feed_max_resolution_title"
        app:useSimpleSummaryProvider="true" />

</PreferenceScreen>