aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/data_saving_mode_preferences.xml
blob: 0917fd9c1088511d9b91f1d6d05769f102359f1f (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
<?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.CustomFontPreference
        app:icon="@drawable/ic_info_preference_day_night_24dp"
        app:summary="@string/settings_data_saving_mode_info_summary"
        app:enabled="false" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="0"
        app:key="data_saving_mode"
        android:title="@string/settings_data_saving_mode"
        app:entries="@array/settings_data_saving_mode"
        app:entryValues="@array/settings_data_saving_mode_values"
        app:useSimpleSummaryProvider="true" />

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

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

    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="360"
        app:key="reddit_video_default_resolution"
        android:title="@string/settings_reddit_video_default_resolution"
        app:entries="@array/settings_reddit_video_default_resolution"
        app:entryValues="@array/settings_reddit_video_default_resolution_values"
        app:useSimpleSummaryProvider="true" />

</PreferenceScreen>