1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 * Copyright (C) 2011 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 20 android:title="@string/emergency_alert_settings_title_watches" 21 android:key="category_alert_preferences"> 22 23 <!-- Enable CMAS Extreme Threat alerts --> 24 <SwitchPreference android:defaultValue="true" 25 android:key="enable_cmas_extreme_threat_alerts" 26 android:title="@string/enable_cmas_extreme_threat_alerts_title" /> 27 28 <!-- Enable CMAS Severe Threat alerts --> 29 <SwitchPreference android:defaultValue="true" 30 android:key="enable_cmas_severe_threat_alerts" 31 android:title="@string/enable_cmas_severe_threat_alerts_title" /> 32 33 <!-- Enable CMAS AMBER alerts --> 34 <SwitchPreference android:defaultValue="true" 35 android:key="enable_cmas_amber_alerts" 36 android:title="@string/enable_cmas_amber_alerts_title" /> 37 38 <SwitchPreference android:defaultValue="true" 39 android:key="enable_emergency_alerts" 40 android:title="@string/enable_alerts_master_toggle_title" /> 41 42 <ListPreference android:key="alert_reminder_interval" 43 android:title="@string/alert_reminder_interval_title" 44 android:entries="@array/alert_reminder_interval_entries" 45 android:entryValues="@array/alert_reminder_interval_values" 46 android:defaultValue="@string/alert_reminder_interval_default_value" 47 android:dialogTitle="@string/alert_reminder_interval_title" /> 48 49 <SwitchPreference android:key="watch_alert_reminder" 50 android:title="@string/alert_reminder_interval_title" /> 51 52 <SwitchPreference android:defaultValue="true" 53 android:key="enable_alert_vibrate" 54 android:title="@string/enable_alert_vibrate_title" /> 55 56 <SwitchPreference android:defaultValue="true" 57 android:key="enable_alert_speech" 58 android:title="@string/enable_alert_speech_title" /> 59 60 <!-- Enable receive monthly test --> 61 <SwitchPreference android:defaultValue="false" 62 android:key="enable_test_alerts" 63 android:title="@string/enable_cmas_test_alerts_title" /> 64 65 <!-- Default value is true for Brazil and India. This preference is ignored and hidden 66 unless the boolean "config_showAreaUpdateInfoSettings" is set to true in the global resource. --> 67 <SwitchPreference android:defaultValue="true" 68 android:key="enable_area_update_info_alerts" 69 android:summary="@string/enable_area_update_info_alerts_summary" 70 android:title="@string/enable_area_update_info_alerts_title" /> 71 72 </PreferenceScreen> 73