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_normal_type" 70 android:text="@string/button_etws_normal_type" 71 android:layout_marginLeft="20dp" 72 android:layout_marginTop="10dp" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" /> 75 76 <Button android:id="@+id/button_etws_cancel_type" 77 android:text="@string/button_etws_cancel_type" 78 android:layout_marginLeft="20dp" 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" /> 81 82 <Button android:id="@+id/button_etws_test_type" 83 android:text="@string/button_etws_test_type" 84 android:layout_marginLeft="20dp" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" /> 87 88 <!-- CDMA CMAS Alerts --> 89 <Button android:id="@+id/button_cmas_pres_alert" 90 android:text="@string/button_cmas_pres_alert" 91 android:layout_marginLeft="20dp" 92 android:layout_marginTop="10dp" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" /> 95 96 <Button android:id="@+id/button_cmas_extreme_alert" 97 android:text="@string/button_cmas_extreme_alert" 98 android:layout_marginLeft="20dp" 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" /> 101 102 <Button android:id="@+id/button_cmas_severe_alert" 103 android:text="@string/button_cmas_severe_alert" 104 android:layout_marginLeft="20dp" 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" /> 107 108 <Button android:id="@+id/button_cmas_amber_alert" 109 android:text="@string/button_cmas_amber_alert" 110 android:layout_marginLeft="20dp" 111 android:layout_width="wrap_content" 112 android:layout_height="wrap_content" /> 113 114 <Button android:id="@+id/button_cmas_monthly_test" 115 android:text="@string/button_cmas_monthly_test" 116 android:layout_marginLeft="20dp" 117 android:layout_width="wrap_content" 118 android:layout_height="wrap_content" /> 119 120 <!-- Other Alerts --> 121 <Button android:id="@+id/button_gsm_7bit_type" 122 android:text="@string/button_gsm_7bit_type" 123 android:layout_marginLeft="20dp" 124 android:layout_marginTop="10dp" 125 android:layout_width="wrap_content" 126 android:layout_height="wrap_content" /> 127 128 <Button android:id="@+id/button_gsm_7bit_umts_type" 129 android:text="@string/button_gsm_7bit_umts_type" 130 android:layout_marginLeft="20dp" 131 android:layout_width="wrap_content" 132 android:layout_height="wrap_content" /> 133 134 <Button android:id="@+id/button_gsm_7bit_nopadding_type" 135 android:text="@string/button_gsm_7bit_nopadding_type" 136 android:layout_marginLeft="20dp" 137 android:layout_width="wrap_content" 138 android:layout_height="wrap_content" /> 139 140 <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type" 141 android:text="@string/button_gsm_7bit_nopadding_umts_type" 142 android:layout_marginLeft="20dp" 143 android:layout_width="wrap_content" 144 android:layout_height="wrap_content" /> 145 146 <Button android:id="@+id/button_gsm_7bit_multipage_type" 147 android:text="@string/button_gsm_7bit_multipage_type" 148 android:layout_marginLeft="20dp" 149 android:layout_width="wrap_content" 150 android:layout_height="wrap_content" /> 151 152 <Button android:id="@+id/button_gsm_7bit_multipage_umts_type" 153 android:text="@string/button_gsm_7bit_multipage_umts_type" 154 android:layout_marginLeft="20dp" 155 android:layout_width="wrap_content" 156 android:layout_height="wrap_content" /> 157 158 <Button android:id="@+id/button_gsm_7bit_with_language_type" 159 android:text="@string/button_gsm_7bit_with_language_type" 160 android:layout_marginLeft="20dp" 161 android:layout_width="wrap_content" 162 android:layout_height="wrap_content" /> 163 164 <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type" 165 android:text="@string/button_gsm_7bit_with_language_body_gsm_type" 166 android:layout_marginLeft="20dp" 167 android:layout_width="wrap_content" 168 android:layout_height="wrap_content" /> 169 170 <Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type" 171 android:text="@string/button_gsm_7bit_with_language_body_umts_type" 172 android:layout_marginLeft="20dp" 173 android:layout_width="wrap_content" 174 android:layout_height="wrap_content" /> 175 176 <Button android:id="@+id/button_gsm_ucs2_type" 177 android:text="@string/button_gsm_ucs2_type" 178 android:layout_marginLeft="20dp" 179 android:layout_width="wrap_content" 180 android:layout_height="wrap_content" /> 181 182 <Button android:id="@+id/button_gsm_ucs2_umts_type" 183 android:text="@string/button_gsm_ucs2_umts_type" 184 android:layout_marginLeft="20dp" 185 android:layout_width="wrap_content" 186 android:layout_height="wrap_content" /> 187 188 <Button android:id="@+id/button_gsm_ucs2_multipage_umts_type" 189 android:text="@string/button_gsm_ucs2_multipage_umts_type" 190 android:layout_marginLeft="20dp" 191 android:layout_width="wrap_content" 192 android:layout_height="wrap_content" /> 193 194 <Button android:id="@+id/button_gsm_ucs2_with_language_type" 195 android:text="@string/button_gsm_ucs2_with_language_type" 196 android:layout_marginLeft="20dp" 197 android:layout_width="wrap_content" 198 android:layout_height="wrap_content" /> 199 200 <Button android:id="@+id/button_gsm_ucs2_with_language_umts_type" 201 android:text="@string/button_gsm_ucs2_with_language_umts_type" 202 android:layout_marginLeft="20dp" 203 android:layout_width="wrap_content" 204 android:layout_height="wrap_content" /> 205 206 </LinearLayout> 207 208 </ScrollView> 209