summaryrefslogtreecommitdiff
path: root/res/xml/preferences.xml
blob: e1a5bc9c8125692b6a23b4dba1e30bb27aad6359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (C) 2011 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">

    <PreferenceCategory android:title="@string/emergency_alert_settings_title"
                        android:key="emergency_alert_settings">

        <CheckBoxPreference android:defaultValue="true"
                            android:key="enable_emergency_alerts"
                            android:summary="@string/enable_emergency_alerts_summary"
                            android:title="@string/enable_emergency_alerts_title" />

        <ListPreference android:key="alert_sound_duration"
                        android:title="@string/alert_sound_duration_title"
                        android:entries="@array/alert_sound_duration_entries"
                        android:entryValues="@array/alert_sound_duration_values"
                        android:defaultValue="4"
                        android:dialogTitle="@string/alert_sound_duration_title" />

        <CheckBoxPreference android:defaultValue="true"
                            android:key="enable_alert_speech"
                            android:summary="@string/enable_alert_speech_summary"
                            android:title="@string/enable_alert_speech_title" />

    </PreferenceCategory>
    <PreferenceCategory android:title="@string/category_etws_settings_title"
                        android:key="category_etws_settings">

        <CheckBoxPreference android:defaultValue="false"
                            android:key="enable_etws_test_alerts"
                            android:summary="@string/enable_etws_test_alerts_summary"
                            android:title="@string/enable_etws_test_alerts_title" />

    </PreferenceCategory>
    <PreferenceCategory android:title="@string/category_cmas_settings_title"
                        android:key="category_cmas_settings">

        <CheckBoxPreference android:defaultValue="true"
                            android:key="enable_cmas_imminent_threat_alerts"
                            android:summary="@string/enable_cmas_imminent_threat_alerts_summary"
                            android:title="@string/enable_cmas_imminent_threat_alerts_title" />

        <CheckBoxPreference android:defaultValue="false"
                            android:key="enable_cmas_amber_alerts"
                            android:summary="@string/enable_cmas_amber_alerts_summary"
                            android:title="@string/enable_cmas_amber_alerts_title" />

        <CheckBoxPreference android:defaultValue="false"
                            android:key="enable_cmas_test_alerts"
                            android:summary="@string/enable_cmas_test_alerts_summary"
                            android:title="@string/enable_cmas_test_alerts_title" />

    </PreferenceCategory>
    <PreferenceCategory android:title="@string/category_brazil_settings_title"
                        android:key="category_brazil_settings">

    <!-- Default value is true for Brazil. This preference is ignored and hidden
         unless the boolean "show_brazil_settings" is set to true in config.xml. -->
    <CheckBoxPreference android:defaultValue="true"
                        android:key="enable_channel_50_alerts"
                        android:summary="@string/enable_channel_50_alerts_summary"
                        android:title="@string/enable_channel_50_alerts_title" />

    </PreferenceCategory>

</PreferenceScreen>