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         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     <!-- Other Alerts -->
    142     <Button android:id="@+id/button_gsm_7bit_type"
    143         android:text="@string/button_gsm_7bit_type"
    144         android:layout_marginLeft="20dp"
    145         android:layout_marginTop="10dp"
    146         android:layout_width="wrap_content"
    147         android:layout_height="wrap_content" />
    148 
    149     <Button android:id="@+id/button_gsm_7bit_umts_type"
    150         android:text="@string/button_gsm_7bit_umts_type"
    151         android:layout_marginLeft="20dp"
    152         android:layout_width="wrap_content"
    153         android:layout_height="wrap_content" />
    154 
    155     <Button android:id="@+id/button_gsm_7bit_nopadding_type"
    156         android:text="@string/button_gsm_7bit_nopadding_type"
    157         android:layout_marginLeft="20dp"
    158         android:layout_width="wrap_content"
    159         android:layout_height="wrap_content" />
    160 
    161     <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
    162         android:text="@string/button_gsm_7bit_nopadding_umts_type"
    163         android:layout_marginLeft="20dp"
    164         android:layout_width="wrap_content"
    165         android:layout_height="wrap_content" />
    166 
    167     <Button android:id="@+id/button_gsm_7bit_multipage_type"
    168         android:text="@string/button_gsm_7bit_multipage_type"
    169         android:layout_marginLeft="20dp"
    170         android:layout_width="wrap_content"
    171         android:layout_height="wrap_content" />
    172 
    173     <Button android:id="@+id/button_gsm_7bit_multipage_umts_type"
    174         android:text="@string/button_gsm_7bit_multipage_umts_type"
    175         android:layout_marginLeft="20dp"
    176         android:layout_width="wrap_content"
    177         android:layout_height="wrap_content" />
    178 
    179     <Button android:id="@+id/button_gsm_7bit_with_language_type"
    180         android:text="@string/button_gsm_7bit_with_language_type"
    181         android:layout_marginLeft="20dp"
    182         android:layout_width="wrap_content"
    183         android:layout_height="wrap_content" />
    184 
    185     <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type"
    186         android:text="@string/button_gsm_7bit_with_language_body_gsm_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_with_language_body_umts_type"
    192         android:text="@string/button_gsm_7bit_with_language_body_umts_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_ucs2_type"
    198         android:text="@string/button_gsm_ucs2_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_ucs2_umts_type"
    204         android:text="@string/button_gsm_ucs2_umts_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_ucs2_multipage_umts_type"
    210         android:text="@string/button_gsm_ucs2_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_ucs2_with_language_type"
    216         android:text="@string/button_gsm_ucs2_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_ucs2_with_language_umts_type"
    222         android:text="@string/button_gsm_ucs2_with_language_umts_type"
    223         android:layout_marginLeft="20dp"
    224         android:layout_width="wrap_content"
    225         android:layout_height="wrap_content" />
    226 
    227   </LinearLayout>
    228 
    229 </ScrollView>
    230