aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/interface_preference.xml
blob: d2525eb68f0986b290324082423457ed1e172806 (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
67
68
69
70
71
72
73
74
75
76
77
78
<?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_font_title"
        app:icon="@drawable/ic_font_size_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreferenceFragment" />

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

    <Preference
        app:title="@string/settings_customize_tabs_in_main_page_title"
        app:summary="@string/settings_customize_tabs_in_main_page_summary"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsFragment" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="bottom_app_bar"
        app:title="@string/settings_enable_bottom_app_bar_title"
        app:summary="@string/settings_enable_bottom_app_bar_summary" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="vote_buttons_on_the_right"
        app:title="@string/settings_vote_buttons_on_the_right_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_elapsed_time"
        app:title="@string/settings_show_elapsed_time" />

    <ListPreference
        app:defaultValue="0"
        android:entries="@array/settings_default_post_layout"
        app:entryValues="@array/settings_default_post_layout_values"
        app:key="default_post_layout"
        app:title="@string/settings_default_post_layout"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="show_divider_in_compact_layout"
        app:title="@string/settings_show_divider_in_compact_layout" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_thumbnail_on_the_right_in_compact_layout"
        app:title="@string/settings_show_thumbnail_on_the_right_in_compact_layout" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_top_level_comments_first"
        app:title="@string/settings_show_top_level_comments_first_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_comment_divider"
        app:title="@string/settings_show_comment_divider_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="comment_toolbar_hidden"
        app:title="@string/settings_comment_toolbar_hidden" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="comment_toolbar_hide_on_click"
        app:title="@string/settings_comment_toolbar_hide_on_click" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="show_absolute_number_of_votes"
        app:title="@string/settings_show_absolute_number_of_votes_title" />

</PreferenceScreen>