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 <Button android:id="@+id/button_gsm_public_safety_message" 172 android:text="@string/button_gsm_public_safety_message" 173 android:layout_marginLeft="20dp" 174 android:layout_width="wrap_content" 175 android:layout_height="wrap_content" /> 176 177 <!-- Other Alerts --> 178 <Button android:id="@+id/button_gsm_7bit_type" 179 android:text="@string/button_gsm_7bit_type" 180 android:layout_marginLeft="20dp" 181 android:layout_marginTop="10dp" 182 android:layout_width="wrap_content" 183 android:layout_height="wrap_content" /> 184 185 <Button android:id="@+id/button_gsm_7bit_umts_type" 186 android:text="@string/button_gsm_7bit_umts_type" 187 android:layout_marginLeft="20dp" 188 android:layout_width="wrap_content" 189 android:layout_height="wrap_content" /> 190 191 <Button android:id="@+id/button_gsm_7bit_nopadding_type" 192 android:text="@string/button_gsm_7bit_nopadding_type" 193 android:layout_marginLeft="20dp" 194 android:layout_width="wrap_content" 195 android:layout_height="wrap_content" /> 196 197 <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type" 198 android:text="@string/button_gsm_7bit_nopadding_umts_type" 199 android:layout_marginLeft="20dp" 200 android:layout_width="wrap_content" 201 android:layout_height="wrap_content" /> 202 203 <Button android:id="@+id/button_gsm_7bit_multipage_type" 204 android:text="@string/button_gsm_7bit_multipage_type" 205 android:layout_marginLeft="20dp" 206 android:layout_width="wrap_content" 207 android:layout_height="wrap_content" /> 208 209 <Button android:id="@+id/button_gsm_7bit_multipage_umts_type" 210 android:text="@string/button_gsm_7bit_multipage_umts_type" 211 android:layout_marginLeft="20dp" 212 android:layout_width="wrap_content" 213 android:layout_height="wrap_content" /> 214 215 <Button android:id="@+id/button_gsm_7bit_with_language_type" 216 android:text="@string/button_gsm_7bit_with_language_type" 217 android:layout_marginLeft="20dp" 218 android:layout_width="wrap_content" 219 android:layout_height="wrap_content" /> 220 221 <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type" 222 android:text="@string/button_gsm_7bit_with_language_body_gsm_type" 223 android:layout_marginLeft="20dp" 224 android:layout_width="wrap_content" 225 android:layout_height="wrap_content" /> 226 227 <Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type" 228 android:text="@string/button_gsm_7bit_with_language_body_umts_type" 229 android:layout_marginLeft="20dp" 230 android:layout_width="wrap_content" 231 android:layout_height="wrap_content" /> 232 233 <Button android:id="@+id/button_gsm_ucs2_type" 234 android:text="@string/button_gsm_ucs2_type" 235 android:layout_marginLeft="20dp" 236 android:layout_width="wrap_content" 237 android:layout_height="wrap_content" /> 238 239 <Button android:id="@+id/button_gsm_ucs2_umts_type" 240 android:text="@string/button_gsm_ucs2_umts_type" 241 android:layout_marginLeft="20dp" 242 android:layout_width="wrap_content" 243 android:layout_height="wrap_content" /> 244 245 <Button android:id="@+id/button_gsm_ucs2_multipage_umts_type" 246 android:text="@string/button_gsm_ucs2_multipage_umts_type" 247 android:layout_marginLeft="20dp" 248 android:layout_width="wrap_content" 249 android:layout_height="wrap_content" /> 250 251 <Button android:id="@+id/button_gsm_ucs2_with_language_type" 252 android:text="@string/button_gsm_ucs2_with_language_type" 253 android:layout_marginLeft="20dp" 254 android:layout_width="wrap_content" 255 android:layout_height="wrap_content" /> 256 257 <Button android:id="@+id/button_gsm_ucs2_with_language_umts_type" 258 android:text="@string/button_gsm_ucs2_with_language_umts_type" 259 android:layout_marginLeft="20dp" 260 android:layout_width="wrap_content" 261 android:layout_height="wrap_content" /> 262 263 </LinearLayout> 264 265 </ScrollView> 266