OSDN Git Service

Merge "Display "Recent Location Requests" in order"
[android-x86/packages-apps-Settings.git] / res / xml / zen_mode_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2014 The Android Open Source Project
4
5      Licensed under the Apache License, Version 2.0 (the "License");
6      you may not use this file except in compliance with the License.
7      You may obtain a copy of the License at
8
9           http://www.apache.org/licenses/LICENSE-2.0
10
11      Unless required by applicable law or agreed to in writing, software
12      distributed under the License is distributed on an "AS IS" BASIS,
13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14      See the License for the specific language governing permissions and
15      limitations under the License.
16 -->
17
18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19     android:key="zen_mode_settings"
20     android:title="@string/zen_mode_settings_title">
21
22     <!-- Priority behavior settings -->
23     <Preference
24             android:key="zen_mode_behavior_settings"
25             android:title="@string/zen_mode_behavior_settings_title"
26             android:fragment="com.android.settings.notification.ZenModeBehaviorSettings" />
27
28     <!-- Automatic rules -->
29     <Preference
30         android:key="zen_mode_automation_settings"
31         android:title="@string/zen_mode_automation_settings_title"
32         android:fragment="com.android.settings.notification.ZenModeAutomationSettings" />
33
34     <!-- Turn on DND button -->
35     <!-- Layout preference doesn't obey allowDividerAbove, so put it in a PreferenceCategory -->
36     <PreferenceCategory
37         android:key="zen_mode_settings_button_category">
38         <com.android.settings.applications.LayoutPreference
39             android:key="zen_mode_settings_button_container"
40             android:selectable="false"
41             android:layout="@layout/zen_mode_settings_button" />
42     </PreferenceCategory>
43
44     <PreferenceCategory
45         android:key="zen_mode_footer_container">
46         <com.android.settingslib.widget.FooterPreference />
47     </PreferenceCategory>
48
49 </PreferenceScreen>