summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/app_notification_settings.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/res/xml/app_notification_settings.xml b/res/xml/app_notification_settings.xml
index b7557b2..f438e2f 100644
--- a/res/xml/app_notification_settings.xml
+++ b/res/xml/app_notification_settings.xml
@@ -50,11 +50,27 @@
android:order="4"
android:persistent="false" />
+ <!-- Keyguard options -->
+ <SwitchPreference
+ android:key="show_on_keyguard"
+ android:title="@string/app_notification_show_on_keyguard_title"
+ android:summary="@string/app_notification_show_on_keyguard_summary"
+ android:order="5"
+ android:persistent="false" />
+
+ <SwitchPreference
+ android:key="no_ongoing_on_keyguard"
+ android:title="@string/app_notification_no_ongoing_on_keyguard_title"
+ android:summary="@string/app_notification_no_ongoing_on_keyguard_summary"
+ android:order="6"
+ android:dependency="show_on_keyguard"
+ android:persistent="false" />
+
<!-- App notification preferences -->
<Preference
android:key="app_settings"
android:title="@string/app_notification_preferences"
- android:order="5"
+ android:order="7"
android:persistent="false" />
</PreferenceScreen>