• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <!-- ETWS Alerts -->
69    <Button android:id="@+id/button_etws_earthquake_type"
70        android:text="@string/button_etws_earthquake_type"
71        android:layout_marginLeft="20dp"
72        android:layout_marginTop="10dp"
73        android:layout_width="wrap_content"
74        android:layout_height="wrap_content"
75        android:focusableInTouchMode="true">
76        <requestFocus></requestFocus>
77    </Button>
78
79    <Button android:id="@+id/button_etws_tsunami_type"
80        android:text="@string/button_etws_tsunami_type"
81        android:layout_marginLeft="20dp"
82        android:layout_width="wrap_content"
83        android:layout_height="wrap_content" />
84
85    <Button android:id="@+id/button_etws_earthquake_tsunami_type"
86        android:text="@string/button_etws_earthquake_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_other_type"
92        android:text="@string/button_etws_other_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_cancel_type"
98        android:text="@string/button_etws_cancel_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_test_type"
104        android:text="@string/button_etws_test_type"
105        android:layout_marginLeft="20dp"
106        android:layout_width="wrap_content"
107        android:layout_height="wrap_content" />
108
109    <!-- CDMA CMAS Alerts -->
110    <Button android:id="@+id/button_cmas_pres_alert"
111        android:text="@string/button_cmas_pres_alert"
112        android:layout_marginLeft="20dp"
113        android:layout_marginTop="10dp"
114        android:layout_width="wrap_content"
115        android:layout_height="wrap_content" />
116
117    <Button android:id="@+id/button_cmas_extreme_alert"
118        android:text="@string/button_cmas_extreme_alert"
119        android:layout_marginLeft="20dp"
120        android:layout_width="wrap_content"
121        android:layout_height="wrap_content" />
122
123    <Button android:id="@+id/button_cmas_severe_alert"
124        android:text="@string/button_cmas_severe_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_amber_alert"
130        android:text="@string/button_cmas_amber_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_monthly_test"
136        android:text="@string/button_cmas_monthly_test"
137        android:layout_marginLeft="20dp"
138        android:layout_width="wrap_content"
139        android:layout_height="wrap_content" />
140
141    <Button android:id="@+id/button_gsm_cmas_pres_alert"
142        android:text="@string/button_gsm_cmas_pres_alert"
143        android:layout_marginLeft="20dp"
144        android:layout_marginTop="10dp"
145        android:layout_width="wrap_content"
146        android:layout_height="wrap_content" />
147
148    <Button android:id="@+id/button_gsm_cmas_extreme_alert"
149        android:text="@string/button_gsm_cmas_extreme_alert"
150        android:layout_marginLeft="20dp"
151        android:layout_width="wrap_content"
152        android:layout_height="wrap_content" />
153
154    <Button android:id="@+id/button_gsm_cmas_severe_alert"
155        android:text="@string/button_gsm_cmas_severe_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_amber_alert"
161        android:text="@string/button_gsm_cmas_amber_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_monthly_test"
167        android:text="@string/button_gsm_cmas_monthly_test"
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_public_safety_message"
173        android:text="@string/button_gsm_public_safety_message"
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_state_local_test_alert"
179        android:text="@string/button_gsm_state_local_test_alert"
180        android:layout_marginLeft="20dp"
181        android:layout_width="wrap_content"
182        android:layout_height="wrap_content" />
183
184    <!-- Other Alerts -->
185    <Button android:id="@+id/button_gsm_7bit_type"
186        android:text="@string/button_gsm_7bit_type"
187        android:layout_marginLeft="20dp"
188        android:layout_marginTop="10dp"
189        android:layout_width="wrap_content"
190        android:layout_height="wrap_content" />
191
192    <Button android:id="@+id/button_gsm_7bit_umts_type"
193        android:text="@string/button_gsm_7bit_umts_type"
194        android:layout_marginLeft="20dp"
195        android:layout_width="wrap_content"
196        android:layout_height="wrap_content" />
197
198    <Button android:id="@+id/button_gsm_7bit_nopadding_type"
199        android:text="@string/button_gsm_7bit_nopadding_type"
200        android:layout_marginLeft="20dp"
201        android:layout_width="wrap_content"
202        android:layout_height="wrap_content" />
203
204    <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
205        android:text="@string/button_gsm_7bit_nopadding_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_multipage_type"
211        android:text="@string/button_gsm_7bit_multipage_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_multipage_umts_type"
217        android:text="@string/button_gsm_7bit_multipage_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_with_language_type"
223        android:text="@string/button_gsm_7bit_with_language_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_with_language_body_gsm_type"
229        android:text="@string/button_gsm_7bit_with_language_body_gsm_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_body_umts_type"
235        android:text="@string/button_gsm_7bit_with_language_body_umts_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_ucs2_type"
241        android:text="@string/button_gsm_ucs2_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_ucs2_umts_type"
247        android:text="@string/button_gsm_ucs2_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_multipage_umts_type"
253        android:text="@string/button_gsm_ucs2_multipage_umts_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_with_language_type"
259        android:text="@string/button_gsm_ucs2_with_language_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_with_language_umts_type"
265        android:text="@string/button_gsm_ucs2_with_language_umts_type"
266        android:layout_marginLeft="20dp"
267        android:layout_width="wrap_content"
268        android:layout_height="wrap_content" />
269
270  </LinearLayout>
271
272</ScrollView>
273