1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Buttons to send test broadcasts -->
18<ScrollView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent">
22
23  <LinearLayout
24    android:layout_width="match_parent"
25    android:layout_height="match_parent"
26    android:orientation="vertical">
27
28    <LinearLayout
29      android:layout_width="match_parent"
30      android:layout_height="match_parent"
31      android:orientation="horizontal">
32
33      <TextView android:id="@+id/message_id_label"
34          android:layout_width="wrap_content"
35          android:layout_height="wrap_content"
36          android:text="@string/message_id_label" />
37
38      <EditText android:id="@+id/message_id"
39          android:layout_width="80dp"
40          android:layout_height="wrap_content"
41          android:inputType="number" />
42
43    </LinearLayout>
44
45    <LinearLayout
46      android:layout_width="match_parent"
47      android:layout_height="match_parent"
48      android:orientation="horizontal">
49
50      <TextView android:id="@+id/category_id_label"
51          android:layout_width="wrap_content"
52          android:layout_height="wrap_content"
53          android:text="@string/category_id_label" />
54
55      <EditText android:id="@+id/category_id"
56          android:layout_width="80dp"
57          android:layout_height="wrap_content"
58          android:inputType="number" />
59
60    </LinearLayout>
61
62    <CheckBox android:id="@+id/button_delay_broadcast"
63        android:text="@string/button_delay_broadcast"
64        android:layout_marginLeft="20dp"
65        android:layout_width="wrap_content"
66        android:layout_height="wrap_content" />
67
68    <CheckBox android:id="@+id/button_additional_lang_broadcast"
69        android:text="@string/button_additional_lang_broadcast"
70        android:layout_marginLeft="20dp"
71        android:layout_width="wrap_content"
72        android:layout_height="wrap_content" />
73
74    <!-- ETWS Alerts -->
75    <Button android:id="@+id/button_etws_earthquake_type"
76        android:text="@string/button_etws_earthquake_type"
77        android:layout_marginLeft="20dp"
78        android:layout_marginTop="10dp"
79        android:layout_width="wrap_content"
80        android:layout_height="wrap_content"
81        android:focusableInTouchMode="true">
82        <requestFocus></requestFocus>
83    </Button>
84
85    <Button android:id="@+id/button_etws_tsunami_type"
86        android:text="@string/button_etws_tsunami_type"
87        android:layout_marginLeft="20dp"
88        android:layout_width="wrap_content"
89        android:layout_height="wrap_content" />
90
91    <Button android:id="@+id/button_etws_earthquake_tsunami_type"
92        android:text="@string/button_etws_earthquake_tsunami_type"
93        android:layout_marginLeft="20dp"
94        android:layout_width="wrap_content"
95        android:layout_height="wrap_content" />
96
97    <Button android:id="@+id/button_etws_other_type"
98        android:text="@string/button_etws_other_type"
99        android:layout_marginLeft="20dp"
100        android:layout_width="wrap_content"
101        android:layout_height="wrap_content" />
102
103    <Button android:id="@+id/button_etws_cancel_type"
104        android:text="@string/button_etws_cancel_type"
105        android:layout_marginLeft="20dp"
106        android:layout_width="wrap_content"
107        android:layout_height="wrap_content" />
108
109    <Button android:id="@+id/button_etws_test_type"
110        android:text="@string/button_etws_test_type"
111        android:layout_marginLeft="20dp"
112        android:layout_width="wrap_content"
113        android:layout_height="wrap_content" />
114
115    <!-- CDMA CMAS Alerts -->
116    <Button android:id="@+id/button_cmas_pres_alert"
117        android:text="@string/button_cmas_pres_alert"
118        android:layout_marginLeft="20dp"
119        android:layout_marginTop="10dp"
120        android:layout_width="wrap_content"
121        android:layout_height="wrap_content" />
122
123    <Button android:id="@+id/button_cmas_extreme_alert"
124        android:text="@string/button_cmas_extreme_alert"
125        android:layout_marginLeft="20dp"
126        android:layout_width="wrap_content"
127        android:layout_height="wrap_content" />
128
129    <Button android:id="@+id/button_cmas_severe_alert"
130        android:text="@string/button_cmas_severe_alert"
131        android:layout_marginLeft="20dp"
132        android:layout_width="wrap_content"
133        android:layout_height="wrap_content" />
134
135    <Button android:id="@+id/button_cmas_amber_alert"
136        android:text="@string/button_cmas_amber_alert"
137        android:layout_marginLeft="20dp"
138        android:layout_width="wrap_content"
139        android:layout_height="wrap_content" />
140
141    <Button android:id="@+id/button_cmas_monthly_test"
142        android:text="@string/button_cmas_monthly_test"
143        android:layout_marginLeft="20dp"
144        android:layout_width="wrap_content"
145        android:layout_height="wrap_content" />
146
147    <Button android:id="@+id/button_gsm_cmas_pres_alert"
148        android:text="@string/button_gsm_cmas_pres_alert"
149        android:layout_marginLeft="20dp"
150        android:layout_marginTop="10dp"
151        android:layout_width="wrap_content"
152        android:layout_height="wrap_content" />
153
154    <Button android:id="@+id/button_gsm_cmas_extreme_alert"
155        android:text="@string/button_gsm_cmas_extreme_alert"
156        android:layout_marginLeft="20dp"
157        android:layout_width="wrap_content"
158        android:layout_height="wrap_content" />
159
160    <Button android:id="@+id/button_gsm_cmas_severe_alert"
161        android:text="@string/button_gsm_cmas_severe_alert"
162        android:layout_marginLeft="20dp"
163        android:layout_width="wrap_content"
164        android:layout_height="wrap_content" />
165
166    <Button android:id="@+id/button_gsm_cmas_amber_alert"
167        android:text="@string/button_gsm_cmas_amber_alert"
168        android:layout_marginLeft="20dp"
169        android:layout_width="wrap_content"
170        android:layout_height="wrap_content" />
171
172    <Button android:id="@+id/button_gsm_cmas_monthly_test"
173        android:text="@string/button_gsm_cmas_monthly_test"
174        android:layout_marginLeft="20dp"
175        android:layout_width="wrap_content"
176        android:layout_height="wrap_content" />
177
178    <Button android:id="@+id/button_gsm_cmas_exercise_test"
179        android:text="@string/button_gsm_cmas_exercise_test"
180        android:layout_marginLeft="20dp"
181        android:layout_width="wrap_content"
182        android:layout_height="wrap_content" />
183
184    <Button android:id="@+id/button_gsm_public_safety_message"
185        android:text="@string/button_gsm_public_safety_message"
186        android:layout_marginLeft="20dp"
187        android:layout_width="wrap_content"
188        android:layout_height="wrap_content" />
189
190    <Button android:id="@+id/button_gsm_state_local_test_alert"
191        android:text="@string/button_gsm_state_local_test_alert"
192        android:layout_marginLeft="20dp"
193        android:layout_width="wrap_content"
194        android:layout_height="wrap_content" />
195
196    <!-- Other Alerts -->
197    <Button android:id="@+id/button_gsm_7bit_type"
198        android:text="@string/button_gsm_7bit_type"
199        android:layout_marginLeft="20dp"
200        android:layout_marginTop="10dp"
201        android:layout_width="wrap_content"
202        android:layout_height="wrap_content" />
203
204    <Button android:id="@+id/button_gsm_7bit_umts_type"
205        android:text="@string/button_gsm_7bit_umts_type"
206        android:layout_marginLeft="20dp"
207        android:layout_width="wrap_content"
208        android:layout_height="wrap_content" />
209
210    <Button android:id="@+id/button_gsm_7bit_nopadding_type"
211        android:text="@string/button_gsm_7bit_nopadding_type"
212        android:layout_marginLeft="20dp"
213        android:layout_width="wrap_content"
214        android:layout_height="wrap_content" />
215
216    <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
217        android:text="@string/button_gsm_7bit_nopadding_umts_type"
218        android:layout_marginLeft="20dp"
219        android:layout_width="wrap_content"
220        android:layout_height="wrap_content" />
221
222    <Button android:id="@+id/button_gsm_7bit_multipage_type"
223        android:text="@string/button_gsm_7bit_multipage_type"
224        android:layout_marginLeft="20dp"
225        android:layout_width="wrap_content"
226        android:layout_height="wrap_content" />
227
228    <Button android:id="@+id/button_gsm_7bit_multipage_umts_type"
229        android:text="@string/button_gsm_7bit_multipage_umts_type"
230        android:layout_marginLeft="20dp"
231        android:layout_width="wrap_content"
232        android:layout_height="wrap_content" />
233
234    <Button android:id="@+id/button_gsm_7bit_with_language_type"
235        android:text="@string/button_gsm_7bit_with_language_type"
236        android:layout_marginLeft="20dp"
237        android:layout_width="wrap_content"
238        android:layout_height="wrap_content" />
239
240    <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type"
241        android:text="@string/button_gsm_7bit_with_language_body_gsm_type"
242        android:layout_marginLeft="20dp"
243        android:layout_width="wrap_content"
244        android:layout_height="wrap_content" />
245
246    <Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type"
247        android:text="@string/button_gsm_7bit_with_language_body_umts_type"
248        android:layout_marginLeft="20dp"
249        android:layout_width="wrap_content"
250        android:layout_height="wrap_content" />
251
252    <Button android:id="@+id/button_gsm_ucs2_type"
253        android:text="@string/button_gsm_ucs2_type"
254        android:layout_marginLeft="20dp"
255        android:layout_width="wrap_content"
256        android:layout_height="wrap_content" />
257
258    <Button android:id="@+id/button_gsm_ucs2_umts_type"
259        android:text="@string/button_gsm_ucs2_umts_type"
260        android:layout_marginLeft="20dp"
261        android:layout_width="wrap_content"
262        android:layout_height="wrap_content" />
263
264    <Button android:id="@+id/button_gsm_ucs2_multipage_umts_type"
265        android:text="@string/button_gsm_ucs2_multipage_umts_type"
266        android:layout_marginLeft="20dp"
267        android:layout_width="wrap_content"
268        android:layout_height="wrap_content" />
269
270    <Button android:id="@+id/button_gsm_ucs2_with_language_type"
271        android:text="@string/button_gsm_ucs2_with_language_type"
272        android:layout_marginLeft="20dp"
273        android:layout_width="wrap_content"
274        android:layout_height="wrap_content" />
275
276    <Button android:id="@+id/button_gsm_ucs2_with_language_umts_type"
277        android:text="@string/button_gsm_ucs2_with_language_umts_type"
278        android:layout_marginLeft="20dp"
279        android:layout_width="wrap_content"
280        android:layout_height="wrap_content" />
281
282  </LinearLayout>
283
284</ScrollView>
285