aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/post_preferences.xml
blob: fde31eb1f375e38e5d651f9ed593bfce3acf10de (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
79
80
81
82
83
84
85
86
87
88
89
90
91
<?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">

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        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" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="-1"
        android:entries="@array/settings_default_link_post_layout"
        app:entryValues="@array/settings_default_link_post_layout_values"
        app:key="default_link_post_layout"
        app:title="@string/settings_default_link_post_layout"
        app:useSimpleSummaryProvider="true" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:title="@string/settings_number_of_columns_in_post_feed_title"
        app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_post_type"
        app:title="@string/settings_hide_post_type" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_post_flair"
        app:title="@string/settings_hide_post_flair" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_subreddit_and_user_prefix"
        app:title="@string/settings_hide_subreddit_and_user_prefix" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_the_number_of_votes"
        app:title="@string/settings_hide_the_number_of_votes" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_the_number_of_comments"
        app:title="@string/settings_hide_the_number_of_comments" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="hide_text_post_content"
        app:title="@string/settings_hide_text_post_content" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="fixed_height_preview_in_card"
        app:title="@string/settings_fixed_height_preview_in_card_title" />

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

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="true"
        app:key="show_divider_in_compact_layout"
        app:title="@string/settings_show_divider_in_compact_layout" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="show_thumbnail_on_the_left_in_compact_layout"
        app:title="@string/settings_show_thumbnail_on_the_left_in_compact_layout" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="long_press_to_hide_toolbar_in_compact_layout"
        app:title="@string/settings_long_press_to_hide_toolbar_in_compact_layout_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="post_compact_layout_toolbar_hidden_by_default"
        app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" />

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

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        android:defaultValue="false"
        app:key="click_to_show_media_in_gallery_layout"
        app:title="@string/settings_click_to_show_media_in_gallery_layout" />
    
</PreferenceScreen>