2017-02-05 08:34:55 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:key="@string/preferences_file_key">
|
|
|
|
|
2017-02-16 19:52:55 +01:00
|
|
|
<PreferenceCategory android:title="@string/pref_title_notification_settings">
|
2017-02-05 08:34:55 +01:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pullNotifications"
|
|
|
|
android:title="@string/pref_title_pull_notifications"
|
|
|
|
android:summary="@string/pref_summary_pull_notifications"
|
|
|
|
android:defaultValue="true" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:dependency="pullNotifications"
|
|
|
|
android:key="pullNotificationCheckInterval"
|
|
|
|
android:title="@string/pref_title_pull_notification_check_interval"
|
|
|
|
android:summary="@string/pref_summary_pull_notification_check_interval"
|
|
|
|
android:entries="@array/pull_notification_check_interval_names"
|
|
|
|
android:entryValues="@array/pull_notification_check_intervals"
|
|
|
|
android:defaultValue="15" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:dependency="pullNotifications"
|
|
|
|
android:key="notificationAlertSound"
|
|
|
|
android:title="@string/pref_title_notification_alert_sound"
|
|
|
|
android:defaultValue="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:dependency="pullNotifications"
|
|
|
|
android:key="notificationStyleVibrate"
|
|
|
|
android:title="@string/pref_title_notification_style_vibrate"
|
|
|
|
android:defaultValue="false" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:dependency="pullNotifications"
|
|
|
|
android:key="notificationStyleLight"
|
|
|
|
android:title="@string/pref_title_notification_style_light"
|
|
|
|
android:defaultValue="false" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2017-02-16 19:52:55 +01:00
|
|
|
<PreferenceCategory android:title="@string/pref_title_appearance_settings">
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="lightTheme"
|
|
|
|
android:title="@string/pref_title_light_theme"
|
|
|
|
android:defaultValue="false" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2017-02-05 08:34:55 +01:00
|
|
|
</PreferenceScreen>
|