OSDN Git Service

Merge "Updated the string resource"
[android-x86/packages-apps-Settings.git] / res / xml / zen_mode_priority_settings.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         android:switchTextOff=""
30         android:switchTextOn="" />
31
32     <!-- Reminders -->
33     <SwitchPreference
34         android:key="reminders"
35         android:title="@string/zen_mode_reminders"
36         android:persistent="false"
37         android:switchTextOff=""
38         android:switchTextOn="" />
39
40     <!-- Events -->
41     <SwitchPreference
42         android:key="events"
43         android:title="@string/zen_mode_events"
44         android:persistent="false"
45         android:switchTextOff=""
46         android:switchTextOn="" />
47
48     <!-- Messages -->
49     <SwitchPreference
50         android:key="messages"
51         android:title="@string/zen_mode_messages"
52         android:persistent="false"
53         android:switchTextOff=""
54         android:switchTextOn="" />
55
56     <!-- Calls -->
57     <SwitchPreference
58         android:key="calls"
59         android:title="@string/zen_mode_calls"
60         android:persistent="false"
61         android:switchTextOff=""
62         android:switchTextOn="" />
63
64     <!-- Messages/calls from -->
65     <com.android.settings.DropDownPreference
66             android:key="starred"
67             android:title="@string/zen_mode_from"
68             android:persistent="false" />
69
70     <!-- Repeat callers -->
71     <SwitchPreference
72         android:key="repeat_callers"
73         android:title="@string/zen_mode_repeat_callers"
74         android:persistent="false"
75         android:switchTextOff=""
76         android:switchTextOn="" />
77
78 </PreferenceScreen>