aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/video_preferences.xml
blob: a0924140c78a8d3f9d4fc3a8f5bca96e3b265f47 (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
<?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">

    <SwitchPreference
        app:defaultValue="false"
        app:key="mute_video"
        app:icon="@drawable/ic_mute_preferences_24dp"
        app:title="@string/settings_mute_video_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="mute_nsfw_video"
        app:icon="@drawable/ic_mute_preferences_24dp"
        app:title="@string/settings_mute_nsfw_video_title" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="automatically_try_redgifs"
        app:title="@string/settings_automatically_try_redgifs_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="video_player_ignore_nav_bar"
        app:title="@string/settings_video_player_ignore_nav_bar_title"
        app:summary="@string/settings_video_player_ignore_nav_bar_summary" />

    <PreferenceCategory
        app:title="@string/settings_video_autoplay_title" />

    <ListPreference
        app:defaultValue="0"
        android:entries="@array/settings_video_autoplay"
        app:entryValues="@array/settings_video_autoplay_values"
        app:key="video_autoplay"
        app:title="@string/settings_video_autoplay_title"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="mute_autoplaying_videos"
        app:icon="@drawable/ic_mute_preferences_24dp"
        app:title="@string/settings_mute_autoplaying_videos_title" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="autoplay_nsfw_videos"
        app:title="@string/settings_autoplay_nsfw_videos_title" />

    <SeekBarPreference
        app:defaultValue="75"
        android:max="100"
        app:key="start_autoplay_visible_area_offset_portrait"
        app:title="@string/settings_start_autoplay_visible_area_offset_portrait_title"
        app:singleLineTitle="false" />

    <SeekBarPreference
        app:defaultValue="50"
        android:max="100"
        app:key="start_autoplay_visible_area_offset_landscape"
        app:title="@string/settings_start_autoplay_visible_area_offset_landscape_title"
        app:singleLineTitle="false" />

</PreferenceScreen>