chinwag-android/app/src/main/res/xml/notification_preferences.xml

75 lines
2.8 KiB
XML
Raw Normal View History

2017-10-30 20:41:59 +11:00
<?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"
android:key="notificationSettings"
android:title="@string/pref_title_edit_notification_settings">
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationsEnabled"
android:title="@string/pref_title_notifications_enabled"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<PreferenceCategory
android:dependency="notificationsEnabled"
android:title="@string/pref_title_notification_filters"
app:iconSpaceReserved="false">
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationFilterMentions"
android:title="@string/pref_title_notification_filter_mentions"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationFilterFollows"
android:title="@string/pref_title_notification_filter_follows"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationFilterReblogs"
android:title="@string/pref_title_notification_filter_reblogs"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationFilterFavourites"
android:title="@string/pref_title_notification_filter_favourites"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
android:defaultValue="true"
android:key="notificationFilterPolls"
android:title="@string/pref_title_notification_filter_poll"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
</PreferenceCategory>
<PreferenceCategory
android:dependency="notificationsEnabled"
android:title="@string/pref_title_notification_alerts"
app:iconSpaceReserved="false">
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationAlertSound"
android:title="@string/pref_title_notification_alert_sound"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationAlertVibrate"
android:title="@string/pref_title_notification_alert_vibrate"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
<SwitchPreference
2017-10-30 20:41:59 +11:00
android:defaultValue="true"
android:key="notificationAlertLight"
android:title="@string/pref_title_notification_alert_light"
app:iconSpaceReserved="false" />
2017-10-30 20:41:59 +11:00
</PreferenceCategory>
</PreferenceScreen>