Home | History | Annotate | Download | only in layout
      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 
     76     <Button android:id="@+id/button_etws_tsunami_type"
     77         android:text="@string/button_etws_tsunami_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_earthquake_tsunami_type"
     83         android:text="@string/button_etws_earthquake_tsunami_type"
     84         android:layout_marginLeft="20dp"
     85         android:layout_width="wrap_content"
     86         android:layout_height="wrap_content" />
     87 
     88     <Button android:id="@+id/button_etws_other_type"
     89         android:text="@string/button_etws_other_type"
     90         android:layout_marginLeft="20dp"
     91         android:layout_width="wrap_content"
     92         android:layout_height="wrap_content" />
     93 
     94     <Button android:id="@+id/button_etws_cancel_type"
     95         android:text="@string/button_etws_cancel_type"
     96         android:layout_marginLeft="20dp"
     97         android:layout_width="wrap_content"
     98         android:layout_height="wrap_content" />
     99 
    100     <Button android:id="@+id/button_etws_test_type"
    101         android:text="@string/button_etws_test_type"
    102         android:layout_marginLeft="20dp"
    103         android:layout_width="wrap_content"
    104         android:layout_height="wrap_content" />
    105 
    106     <!-- CDMA CMAS Alerts -->
    107     <Button android:id="@+id/button_cmas_pres_alert"
    108         android:text="@string/button_cmas_pres_alert"
    109         android:layout_marginLeft="20dp"
    110         android:layout_marginTop="10dp"
    111         android:layout_width="wrap_content"
    112         android:layout_height="wrap_content" />
    113 
    114     <Button android:id="@+id/button_cmas_extreme_alert"
    115         android:text="@string/button_cmas_extreme_alert"
    116         android:layout_marginLeft="20dp"
    117         android:layout_width="wrap_content"
    118         android:layout_height="wrap_content" />
    119 
    120     <Button android:id="@+id/button_cmas_severe_alert"
    121         android:text="@string/button_cmas_severe_alert"
    122         android:layout_marginLeft="20dp"
    123         android:layout_width="wrap_content"
    124         android:layout_height="wrap_content" />
    125 
    126     <Button android:id="@+id/button_cmas_amber_alert"
    127         android:text="@string/button_cmas_amber_alert"
    128         android:layout_marginLeft="20dp"
    129         android:layout_width="wrap_content"
    130         android:layout_height="wrap_content" />
    131 
    132     <Button android:id="@+id/button_cmas_monthly_test"
    133         android:text="@string/button_cmas_monthly_test"
    134         android:layout_marginLeft="20dp"
    135         android:layout_width="wrap_content"
    136         android:layout_height="wrap_content" />
    137 
    138     <!-- Other Alerts -->
    139     <Button android:id="@+id/button_gsm_7bit_type"
    140         android:text="@string/button_gsm_7bit_type"
    141         android:layout_marginLeft="20dp"
    142         android:layout_marginTop="10dp"
    143         android:layout_width="wrap_content"
    144         android:layout_height="wrap_content" />
    145 
    146     <Button android:id="@+id/button_gsm_7bit_umts_type"
    147         android:text="@string/button_gsm_7bit_umts_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_nopadding_type"
    153         android:text="@string/button_gsm_7bit_nopadding_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_nopadding_umts_type"
    159         android:text="@string/button_gsm_7bit_nopadding_umts_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_multipage_type"
    165         android:text="@string/button_gsm_7bit_multipage_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_multipage_umts_type"
    171         android:text="@string/button_gsm_7bit_multipage_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_7bit_with_language_type"
    177         android:text="@string/button_gsm_7bit_with_language_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_7bit_with_language_body_gsm_type"
    183         android:text="@string/button_gsm_7bit_with_language_body_gsm_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_7bit_with_language_body_umts_type"
    189         android:text="@string/button_gsm_7bit_with_language_body_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_type"
    195         android:text="@string/button_gsm_ucs2_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_umts_type"
    201         android:text="@string/button_gsm_ucs2_umts_type"
    202         android:layout_marginLeft="20dp"
    203         android:layout_width="wrap_content"
    204         android:layout_height="wrap_content" />
    205 
    206     <Button android:id="@+id/button_gsm_ucs2_multipage_umts_type"
    207         android:text="@string/button_gsm_ucs2_multipage_umts_type"
    208         android:layout_marginLeft="20dp"
    209         android:layout_width="wrap_content"
    210         android:layout_height="wrap_content" />
    211 
    212     <Button android:id="@+id/button_gsm_ucs2_with_language_type"
    213         android:text="@string/button_gsm_ucs2_with_language_type"
    214         android:layout_marginLeft="20dp"
    215         android:layout_width="wrap_content"
    216         android:layout_height="wrap_content" />
    217 
    218     <Button android:id="@+id/button_gsm_ucs2_with_language_umts_type"
    219         android:text="@string/button_gsm_ucs2_with_language_umts_type"
    220         android:layout_marginLeft="20dp"
    221         android:layout_width="wrap_content"
    222         android:layout_height="wrap_content" />
    223 
    224   </LinearLayout>
    225 
    226 </ScrollView>
    227