aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/notification_preferences.xml
blob: 2b5474791331d81690be0b805c9d520204bee178 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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">

    <SwitchPreference
        app:defaultValue="true"
        app:key="enable_notification"
        app:icon="@drawable/ic_outline_notifications_24dp"
        app:title="@string/settings_notification_enable_notification_title"/>

    <ListPreference
        app:defaultValue="1"
        app:entries="@array/settings_notification_interval"
        app:entryValues="@array/settings_notification_interval_values"
        app:key="notificaiton_interval"
        app:icon="@drawable/ic_outline_access_time_24dp"
        app:title="@string/settings_notification_interval_title"
        app:useSimpleSummaryProvider="true"
        app:isPreferenceVisible="false" />

</androidx.preference.PreferenceScreen>