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     <CheckBox android:id="@+id/button_delay_broadcast"
     29         android:text="@string/button_delay_broadcast"
     30         android:layout_marginLeft="20dp"
     31         android:layout_width="wrap_content"
     32         android:layout_height="wrap_content" />
     33 
     34     <!-- ETWS Alerts -->
     35     <Button android:id="@+id/button_etws_normal_type"
     36         android:text="@string/button_etws_normal_type"
     37         android:layout_marginLeft="20dp"
     38         android:layout_marginTop="10dp"
     39         android:layout_width="wrap_content"
     40         android:layout_height="wrap_content" />
     41 
     42     <Button android:id="@+id/button_etws_cancel_type"
     43         android:text="@string/button_etws_cancel_type"
     44         android:layout_marginLeft="20dp"
     45         android:layout_width="wrap_content"
     46         android:layout_height="wrap_content" />
     47 
     48     <Button android:id="@+id/button_etws_test_type"
     49         android:text="@string/button_etws_test_type"
     50         android:layout_marginLeft="20dp"
     51         android:layout_width="wrap_content"
     52         android:layout_height="wrap_content" />
     53 
     54     <!-- CDMA CMAS Alerts -->
     55     <Button android:id="@+id/button_cmas_pres_alert"
     56         android:text="@string/button_cmas_pres_alert"
     57         android:layout_marginLeft="20dp"
     58         android:layout_marginTop="10dp"
     59         android:layout_width="wrap_content"
     60         android:layout_height="wrap_content" />
     61 
     62     <Button android:id="@+id/button_cmas_extreme_alert"
     63         android:text="@string/button_cmas_extreme_alert"
     64         android:layout_marginLeft="20dp"
     65         android:layout_width="wrap_content"
     66         android:layout_height="wrap_content" />
     67 
     68     <Button android:id="@+id/button_cmas_severe_alert"
     69         android:text="@string/button_cmas_severe_alert"
     70         android:layout_marginLeft="20dp"
     71         android:layout_width="wrap_content"
     72         android:layout_height="wrap_content" />
     73 
     74     <Button android:id="@+id/button_cmas_amber_alert"
     75         android:text="@string/button_cmas_amber_alert"
     76         android:layout_marginLeft="20dp"
     77         android:layout_width="wrap_content"
     78         android:layout_height="wrap_content" />
     79 
     80     <Button android:id="@+id/button_cmas_monthly_test"
     81         android:text="@string/button_cmas_monthly_test"
     82         android:layout_marginLeft="20dp"
     83         android:layout_width="wrap_content"
     84         android:layout_height="wrap_content" />
     85 
     86     <!-- Other Alerts -->
     87     <Button android:id="@+id/button_gsm_7bit_type"
     88         android:text="@string/button_gsm_7bit_type"
     89         android:layout_marginLeft="20dp"
     90         android:layout_marginTop="10dp"
     91         android:layout_width="wrap_content"
     92         android:layout_height="wrap_content" />
     93 
     94     <Button android:id="@+id/button_gsm_7bit_umts_type"
     95         android:text="@string/button_gsm_7bit_umts_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_gsm_7bit_nopadding_type"
    101         android:text="@string/button_gsm_7bit_nopadding_type"
    102         android:layout_marginLeft="20dp"
    103         android:layout_width="wrap_content"
    104         android:layout_height="wrap_content" />
    105 
    106     <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
    107         android:text="@string/button_gsm_7bit_nopadding_umts_type"
    108         android:layout_marginLeft="20dp"
    109         android:layout_width="wrap_content"
    110         android:layout_height="wrap_content" />
    111 
    112     <Button android:id="@+id/button_gsm_7bit_multipage_type"
    113         android:text="@string/button_gsm_7bit_multipage_type"
    114         android:layout_marginLeft="20dp"
    115         android:layout_width="wrap_content"
    116         android:layout_height="wrap_content" />
    117 
    118     <Button android:id="@+id/button_gsm_7bit_multipage_umts_type"
    119         android:text="@string/button_gsm_7bit_multipage_umts_type"
    120         android:layout_marginLeft="20dp"
    121         android:layout_width="wrap_content"
    122         android:layout_height="wrap_content" />
    123 
    124     <Button android:id="@+id/button_gsm_7bit_with_language_type"
    125         android:text="@string/button_gsm_7bit_with_language_type"
    126         android:layout_marginLeft="20dp"
    127         android:layout_width="wrap_content"
    128         android:layout_height="wrap_content" />
    129 
    130     <Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type"
    131         android:text="@string/button_gsm_7bit_with_language_body_gsm_type"
    132         android:layout_marginLeft="20dp"
    133         android:layout_width="wrap_content"
    134         android:layout_height="wrap_content" />
    135 
    136     <Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type"
    137         android:text="@string/button_gsm_7bit_with_language_body_umts_type"
    138         android:layout_marginLeft="20dp"
    139         android:layout_width="wrap_content"
    140         android:layout_height="wrap_content" />
    141 
    142     <Button android:id="@+id/button_gsm_ucs2_type"
    143         android:text="@string/button_gsm_ucs2_type"
    144         android:layout_marginLeft="20dp"
    145         android:layout_width="wrap_content"
    146         android:layout_height="wrap_content" />
    147 
    148     <Button android:id="@+id/button_gsm_ucs2_umts_type"
    149         android:text="@string/button_gsm_ucs2_umts_type"
    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_ucs2_multipage_umts_type"
    155         android:text="@string/button_gsm_ucs2_multipage_umts_type"
    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_ucs2_with_language_type"
    161         android:text="@string/button_gsm_ucs2_with_language_type"
    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_ucs2_with_language_umts_type"
    167         android:text="@string/button_gsm_ucs2_with_language_umts_type"
    168         android:layout_marginLeft="20dp"
    169         android:layout_width="wrap_content"
    170         android:layout_height="wrap_content" />
    171 
    172   </LinearLayout>
    173 
    174 </ScrollView>
    175