Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2015 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_priority_settings"
     20     android:title="@string/zen_mode_priority_settings_title" >
     21 
     22     <!-- Alarms -->
     23     <SwitchPreference
     24         android:key="alarms"
     25         android:title="@string/zen_mode_alarms"
     26         android:enabled="false"
     27         android:defaultValue="true"
     28         android:persistent="false"/>
     29 
     30     <!-- Reminders -->
     31     <SwitchPreference
     32         android:key="reminders"
     33         android:title="@string/zen_mode_reminders"
     34         android:persistent="false"/>
     35 
     36     <!-- Events -->
     37     <SwitchPreference
     38         android:key="events"
     39         android:title="@string/zen_mode_events"
     40         android:persistent="false"/>
     41 
     42     <!-- Messages -->
     43     <com.android.settings.DropDownPreference
     44         android:key="messages"
     45         android:title="@string/zen_mode_messages"
     46         android:persistent="false" />
     47 
     48     <!-- Calls -->
     49     <com.android.settings.DropDownPreference
     50         android:key="calls"
     51         android:title="@string/zen_mode_calls"
     52         android:persistent="false" />
     53 
     54     <!-- Repeat callers -->
     55     <SwitchPreference
     56         android:key="repeat_callers"
     57         android:title="@string/zen_mode_repeat_callers"
     58         android:persistent="false"/>
     59 
     60 </PreferenceScreen>
     61