aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/data_saving_mode_preferences.xml
blob: 6ff3f04a57eb2bf7f7bffc5f4e374c9dfe091a5d (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">

    <Preference
        app:icon="@drawable/ic_info_preference_24dp"
        app:summary="@string/settings_data_saving_mode_info_summary"
        app:enabled="false" />

    <ListPreference
        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" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="disable_image_preview"
        android:title="@string/settings_disable_image_preview_title" />

    <SwitchPreference
        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>