1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2018 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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:key="zen_mode_block_settings_page" 22 android:title="@string/zen_mode_what_to_block_title"> 23 24 <PreferenceCategory 25 android:title="@string/zen_mode_block_effects_screen_off" 26 android:key="zen_mode_block_screen_off"> 27 28 <com.android.settings.widget.DisabledCheckBoxPreference 29 android:key="zen_effect_intent" 30 android:title="@string/zen_mode_block_effect_intent" /> 31 32 <com.android.settings.widget.DisabledCheckBoxPreference 33 android:key="zen_effect_light" 34 android:title="@string/zen_mode_block_effect_light" /> 35 36 <com.android.settings.widget.DisabledCheckBoxPreference 37 android:key="zen_effect_ambient" 38 android:title="@string/zen_mode_block_effect_ambient" /> 39 40 </PreferenceCategory> 41 <PreferenceCategory 42 android:title="@string/zen_mode_block_effects_screen_on" 43 android:key="zen_mode_block_screen_on"> 44 <com.android.settings.widget.DisabledCheckBoxPreference 45 android:key="zen_effect_badge" 46 android:title="@string/zen_mode_block_effect_badge" /> 47 48 <com.android.settings.widget.DisabledCheckBoxPreference 49 android:key="zen_effect_status" 50 android:title="@string/zen_mode_block_effect_status" /> 51 52 <com.android.settings.widget.DisabledCheckBoxPreference 53 android:key="zen_effect_peek" 54 android:title="@string/zen_mode_block_effect_peek" /> 55 56 <com.android.settings.widget.DisabledCheckBoxPreference 57 android:key="zen_effect_list" 58 android:title="@string/zen_mode_block_effect_list" /> 59 </PreferenceCategory> 60 61 <com.android.settingslib.widget.FooterPreference 62 android:key="zen_mode_block_footer" 63 android:title="@string/zen_mode_blocked_effects_footer" 64 android:selectable="false" 65 settings:searchable="false"/> 66 67</PreferenceScreen> 68