1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2015 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res-auto"
19 android:title="@string/configure_notification_settings"
20 android:key="configure_notification_settings">
22 <!-- When device is locked -->
23 <com.android.settings.RestrictedListPreference
24 android:key="lock_screen_notifications"
25 android:title="@string/lock_screen_notifications_title"
26 android:summary="@string/summary_placeholder"/>
28 <!-- Notification badging -->
30 android:key="notification_badging"
31 android:title="@string/notification_badging_title"/>
33 <!-- Pulse notification light -->
35 android:key="notification_pulse"
36 android:title="@string/notification_pulse_title"/>
38 <!-- Default notification ringtone -->
39 <com.android.settings.DefaultRingtonePreference
40 android:key="notification_default_ringtone"
41 android:title="@string/notification_ringtone_title"
42 android:dialogTitle="@string/notification_ringtone_title"
43 android:summary="@string/summary_placeholder"
44 android:ringtoneType="notification" />
47 android:key="gesture_swipe_down_fingerprint_notifications"
48 android:title="@string/fingerprint_swipe_for_notifications_title"
49 android:fragment="com.android.settings.gestures.SwipeToNotificationSettings" />
51 <com.android.settingslib.RestrictedPreference
52 android:key="zen_mode_notifications"
53 android:title="@string/zen_mode_settings_title"
54 settings:useAdminDisabledSummary="true"
55 android:fragment="com.android.settings.notification.ZenModeSettings"
56 settings:allowDividerAbove="false" />
58 <!-- Empty category to draw divider -->
60 android:key="all_notifications_divider"
64 android:key="recent_notifications_category"
65 android:title="@string/recent_notifications"
66 settings:allowDividerAbove="false"
68 <!-- Placeholder for a list of recent apps -->
70 <!-- See all apps button -->
72 android:title="@string/notifications_title"
73 android:key="all_notifications"
76 android:action="android.intent.action.MAIN"
77 android:targetPackage="com.android.settings"
78 android:targetClass="com.android.settings.Settings$ManageApplicationsActivity">
83 <!-- Place work profile section at the bottom to avoid users thinking that any of the
84 above settings are specific to the work profile -->
86 android:key="lock_screen_notifications_profile_header"
87 android:title="@string/profile_section_header"
90 <com.android.settings.RestrictedListPreference
91 android:key="lock_screen_notifications_profile"
92 android:title="@string/lock_screen_notifications_title"
93 android:summary="@string/summary_placeholder"