2017-10-30 10:41:59 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-09 19:21:22 +02:00
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-12 21:09:39 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:key="notificationSettings"
|
|
|
|
android:title="@string/pref_title_edit_notification_settings">
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationsEnabled"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notifications_enabled"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:dependency="notificationsEnabled"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_filters"
|
|
|
|
app:iconSpaceReserved="false">
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterMentions"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_filter_mentions"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterFollows"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_filter_follows"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2020-03-19 22:02:10 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="notificationFilterFollowRequests"
|
|
|
|
android:title="@string/pref_title_notification_filter_follow_requests"
|
|
|
|
app:iconSpaceReserved="false" />
|
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterReblogs"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_filter_reblogs"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterFavourites"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_filter_favourites"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2019-05-02 19:44:35 +02:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterPolls"
|
|
|
|
android:title="@string/pref_title_notification_filter_poll"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:dependency="notificationsEnabled"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_alerts"
|
|
|
|
app:iconSpaceReserved="false">
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertSound"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_alert_sound"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertVibrate"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_alert_vibrate"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
|
2019-05-09 19:21:22 +02:00
|
|
|
<SwitchPreferenceCompat
|
2017-10-30 10:41:59 +01:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertLight"
|
2018-11-12 21:09:39 +01:00
|
|
|
android:title="@string/pref_title_notification_alert_light"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 10:41:59 +01:00
|
|
|
</PreferenceCategory>
|
2019-05-09 19:21:22 +02:00
|
|
|
</androidx.preference.PreferenceScreen>
|