2017-10-30 20:41:59 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-13 07:09:39 +11:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:key="notificationSettings"
|
|
|
|
android:title="@string/pref_title_edit_notification_settings">
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationsEnabled"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notifications_enabled"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:dependency="notificationsEnabled"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_filters"
|
|
|
|
app:iconSpaceReserved="false">
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterMentions"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_filter_mentions"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterFollows"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_filter_follows"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterReblogs"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_filter_reblogs"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationFilterFavourites"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_filter_favourites"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:dependency="notificationsEnabled"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_alerts"
|
|
|
|
app:iconSpaceReserved="false">
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertSound"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_alert_sound"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertVibrate"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_alert_vibrate"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
2018-11-13 07:09:39 +11:00
|
|
|
<SwitchPreference
|
2017-10-30 20:41:59 +11:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="notificationAlertLight"
|
2018-11-13 07:09:39 +11:00
|
|
|
android:title="@string/pref_title_notification_alert_light"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-10-30 20:41:59 +11:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|