aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/miscellaneous_preferences.xml
blob: 132df3d884b442c9653610653c3f28e7298efbe0 (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
<?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" />

</PreferenceScreen>