Files
app_Settings/res/xml/zen_mode_priority_settings.xml
Julia Reynolds 16eec50576 Remove blank switchtext from switch preferences.
This makes TTS services read the default text (on/off) when
these switches are toggled.

Bug: 22530662
Change-Id: I77c5918481faa6309995aa385dcfc3608fc94298
2015-07-16 13:28:16 -04:00

61 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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_priority_settings"
android:title="@string/zen_mode_priority_settings_title" >
<!-- Alarms -->
<SwitchPreference
android:key="alarms"
android:title="@string/zen_mode_alarms"
android:enabled="false"
android:defaultValue="true"
android:persistent="false"/>
<!-- Reminders -->
<SwitchPreference
android:key="reminders"
android:title="@string/zen_mode_reminders"
android:persistent="false"/>
<!-- Events -->
<SwitchPreference
android:key="events"
android:title="@string/zen_mode_events"
android:persistent="false"/>
<!-- Messages -->
<com.android.settings.DropDownPreference
android:key="messages"
android:title="@string/zen_mode_messages"
android:persistent="false" />
<!-- Calls -->
<com.android.settings.DropDownPreference
android:key="calls"
android:title="@string/zen_mode_calls"
android:persistent="false" />
<!-- Repeat callers -->
<SwitchPreference
android:key="repeat_callers"
android:title="@string/zen_mode_repeat_callers"
android:persistent="false"/>
</PreferenceScreen>