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     <CheckBox android:id="@+id/button_delay_broadcast"
     46         android:text="@string/button_delay_broadcast"
     47         android:layout_marginLeft="20dp"
     48         android:layout_width="wrap_content"
     49         android:layout_height="wrap_content" />
     50 
     51     <!-- ETWS Alerts -->
     52     <Button android:id="@+id/button_etws_normal_type"
     53         android:text="@string/button_etws_normal_type"
     54         android:layout_marginLeft="20dp"
     55         android:layout_marginTop="10dp"
     56         android:layout_width="wrap_content"
     57         android:layout_height="wrap_content" />
     58 
     59     <Button android:id="@+id/button_etws_cancel_type"
     60         android:text="@string/button_etws_cancel_type"
     61         android:layout_marginLeft="20dp"
     62         android:layout_width="wrap_content"
     63         android:layout_height="wrap_content" />
     64 
     65     <Button android:id="@+id/button_etws_test_type"
     66         android:text="@string/button_etws_test_type"
     67         android:layout_marginLeft="20dp"
     68         android:layout_width="wrap_content"
     69         android:layout_height="wrap_content" />
     70 
     71     <!-- CDMA CMAS Alerts -->
     72     <Button android:id="@+id/button_cmas_pres_alert"
     73         android:text="@string/button_cmas_pres_alert"
     74         android:layout_marginLeft="20dp"
     75         android:layout_marginTop="10dp"
     76         android:layout_width="wrap_content"
     77         android:layout_height="wrap_content" />
     78 
     79     <Button android:id="@+id/button_cmas_extreme_alert"
     80         android:text="@string/button_cmas_extreme_alert"
     81         android:layout_marginLeft="20dp"
     82         android:layout_width="wrap_content"
     83         android:layout_height="wrap_content" />
     84 
     85     <Button android:id="@+id/button_cmas_severe_alert"
     86         android:text="@string/button_cmas_severe_alert"
     87         android:layout_marginLeft="20dp"
     88         android:layout_width="wrap_content"
     89         android:layout_height="wrap_content" />
     90 
     91     <Button android:id="@+id/button_cmas_amber_alert"
     92         android:text="@string/button_cmas_amber_alert"
     93         android:layout_marginLeft="20dp"
     94         android:layout_width="wrap_content"
     95         android:layout_height="wrap_content" />
     96 
     97     <Button android:id="@+id/button_cmas_monthly_test"
     98         android:text="@string/button_cmas_monthly_test"
     99         android:layout_marginLeft="20dp"
    100         android:layout_width="wrap_content"
    101         android:layout_height="wrap_content" />
    102 
    103     <!-- Other Alerts -->
    104     <Button android:id="@+id/button_gsm_7bit_type"
    105         android:text="@string/button_gsm_7bit_type"
    106         android:layout_marginLeft="20dp"
    107         android:layout_marginTop="10dp"
    108         android:layout_width="wrap_content"
    109         android:layout_height="wrap_content" />
    110 
    111     <Button android:id="@+id/button_gsm_7bit_umts_type"
    112         android:text="@string/button_gsm_7bit_umts_type"
    113         android:layout_marginLeft="20dp"
    114         android:layout_width="wrap_content"
    115         android:layout_height="wrap_content" />
    116 
    117     <Button android:id="@+id/button_gsm_7bit_nopadding_type"
    118         android:text="@string/button_gsm_7bit_nopadding_type"
    119         android:layout_marginLeft="20dp"
    120         android:layout_width="wrap_content"
    121         android:layout_height="wrap_content" />
    122 
    123     <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
    124         android:text="@string/button_gsm_7bit_nopadding_umts_type"
    125         android:layout_marginLeft="20dp"
    126         android:layout_width="wrap_content"
    127         android:layout_height="wrap_content" />
    128 
    129     <Button android:id="@+id/button_gsm_7bit_multipage_type"
    130         android:text="@string/button_gsm_7bit_multipage_type"
    131         android:layout_marginLeft="20dp"
    132         android:layout_width="wrap_content"
    133         android:layout_height="wrap_content" />
    134 
    135     <Button android:id="@+id/button_gsm_7bit_multipage_umts_type"
    136         android:text="@string/button_gsm_7bit_multipage_umts_type"
    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_7bit_with_language_type"
    142         android:text="@string/button_gsm_7bit_with_language_type"
    143         android:layout_marginLeft="20dp"
    144         android:layout_width="wrap_content"
    145         android:layout_height="wrap_content" />
    146 
    147     <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type"
    148         android:text="@string/button_gsm_7bit_with_language_body_gsm_type"
    149         android:layout_marginLeft="20dp"
    150         android:layout_width="wrap_content"
    151         android:layout_height="wrap_content" />
    152 
    153     <Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type"
    154         android:text="@string/button_gsm_7bit_with_language_body_umts_type"
    155         android:layout_marginLeft="20dp"
    156         android:layout_width="wrap_content"
    157         android:layout_height="wrap_content" />
    158 
    159     <Button android:id="@+id/button_gsm_ucs2_type"
    160         android:text="@string/button_gsm_ucs2_type"
    161         android:layout_marginLeft="20dp"
    162         android:layout_width="wrap_content"
    163         android:layout_height="wrap_content" />
    164 
    165     <Button android:id="@+id/button_gsm_ucs2_umts_type"
    166         android:text="@string/button_gsm_ucs2_umts_type"
    167         android:layout_marginLeft="20dp"
    168         android:layout_width="wrap_content"
    169         android:layout_height="wrap_content" />
    170 
    171     <Button android:id="@+id/button_gsm_ucs2_multipage_umts_type"
    172         android:text="@string/button_gsm_ucs2_multipage_umts_type"
    173         android:layout_marginLeft="20dp"
    174         android:layout_width="wrap_content"
    175         android:layout_height="wrap_content" />
    176 
    177     <Button android:id="@+id/button_gsm_ucs2_with_language_type"
    178         android:text="@string/button_gsm_ucs2_with_language_type"
    179         android:layout_marginLeft="20dp"
    180         android:layout_width="wrap_content"
    181         android:layout_height="wrap_content" />
    182 
    183     <Button android:id="@+id/button_gsm_ucs2_with_language_umts_type"
    184         android:text="@string/button_gsm_ucs2_with_language_umts_type"
    185         android:layout_marginLeft="20dp"
    186         android:layout_width="wrap_content"
    187         android:layout_height="wrap_content" />
    188 
    189   </LinearLayout>
    190 
    191 </ScrollView>
    192