aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/data_saving_mode_preferences.xml
blob: 4c348335b8f9903b8a76ba85c7cb17d42e315fd5 (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
<?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_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" />

</PreferenceScreen>