Requires change Icba2b8b2 in frameworks/base Change-Id: I9d7a4f668e3b0e721646e42fa080f201c53a7fe9
66 lines
2.4 KiB
XML
66 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:key="zen_mode_settings"
|
|
android:title="@string/zen_mode_settings_title" >
|
|
|
|
<SwitchPreference
|
|
android:key="zen_mode"
|
|
android:persistent="false"
|
|
android:switchTextOff=""
|
|
android:switchTextOn="" />
|
|
|
|
<PreferenceCategory
|
|
android:key="general"
|
|
android:layout="@layout/zen_mode_section"
|
|
android:title="@string/zen_mode_general_category" >
|
|
<SwitchPreference
|
|
android:key="phone_calls"
|
|
android:persistent="false"
|
|
android:switchTextOff=""
|
|
android:switchTextOn=""
|
|
android:title="@string/zen_mode_phone_calls" />
|
|
<SwitchPreference
|
|
android:key="messages"
|
|
android:persistent="false"
|
|
android:switchTextOff=""
|
|
android:switchTextOn=""
|
|
android:title="@string/zen_mode_messages" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="automatic"
|
|
android:layout="@layout/zen_mode_section"
|
|
android:title="@string/zen_mode_automatic_category" />
|
|
|
|
<PreferenceCategory
|
|
android:key="automation"
|
|
android:layout="@layout/zen_mode_section"
|
|
android:title="@string/zen_mode_automation_category" >
|
|
<Preference
|
|
android:key="entry"
|
|
android:title="@string/zen_mode_entry_conditions_title"
|
|
android:persistent="false" />
|
|
<Preference
|
|
android:key="manage_condition_providers"
|
|
android:title="@string/manage_condition_providers"
|
|
android:persistent="false"
|
|
android:fragment="com.android.settings.notification.ConditionProviderSettings" />
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |