aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/main_preferences.xml
blob: 7d482fae7bfa48482505b4a572303959d7409aa8 (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
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <Preference
        app:key="notification_master"
        app:icon="@drawable/ic_outline_notifications_24px"
        app:title="@string/settings_notification_master_title"
        app:fragment="Settings.NotificationPreferenceFragment" />

    <ListPreference
        app:defaultValue="2"
        app:entryValues="@array/settings_theme_values"
        app:key="theme"
        app:icon="@drawable/ic_outline_color_lens_24px"
        app:title="@string/settings_theme_title"
        app:useSimpleSummaryProvider="true" />

    <ListPreference
        app:defaultValue="2.5"
        android:entries="@array/settings_lazy_mode_interval"
        app:entryValues="@array/settings_lazy_mode_interval_values"
        app:key="lazy_mode_interval"
        app:icon="@drawable/ic_outline_access_time_24px"
        app:title="@string/settings_lazy_mode_interval_title"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="nsfw"
        app:title="@string/settings_enable_nsfw_title"/>

    <Preference
        app:key="acknowledgement_master"
        app:title="@string/settings_acknowledgement_master_title"
        app:fragment="Settings.AcknowledgementFragment" />

</androidx.preference.PreferenceScreen>