Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:orientation="vertical">
     21 
     22     <RadioGroup android:id="@+id/radioGroup_checkedButton_default"
     23         android:layout_width="wrap_content"
     24         android:layout_height="wrap_content">
     25 
     26         <RadioButton android:id="@+id/radioGroup_checkedButton_defalt_button0"
     27             android:layout_width="wrap_content"
     28             android:layout_height="wrap_content"/>
     29         <RadioButton android:id="@+id/radioGroup_checkedButton_defalt_button1"
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"/>
     32 
     33     </RadioGroup>
     34 
     35     <RadioGroup android:id="@+id/radioGroup_checkedButton_normal"
     36         android:layout_width="wrap_content"
     37         android:layout_height="wrap_content"
     38         android:checkedButton="@+id/radioGroup_checkedButton_normal_button0">
     39 
     40         <RadioButton android:id="@id/radioGroup_checkedButton_normal_button0"
     41             android:layout_width="wrap_content"
     42             android:layout_height="wrap_content"/>
     43         <RadioButton android:id="@+id/radioGroup_checkedButton_normal_button1"
     44             android:layout_width="wrap_content"
     45             android:layout_height="wrap_content"/>
     46 
     47     </RadioGroup>
     48 
     49     <RadioGroup android:id="@+id/radioGroup_checkedButton_nonExist"
     50         android:layout_width="wrap_content"
     51         android:layout_height="wrap_content"
     52         android:checkedButton="100">
     53 
     54         <RadioButton android:id="@+id/radioGroup_checkedButton_nonExist_button0"
     55             android:layout_width="wrap_content"
     56             android:layout_height="wrap_content"/>
     57         <RadioButton android:id="@+id/radioGroup_checkedButton_nonExist_button1"
     58             android:layout_width="wrap_content"
     59             android:layout_height="wrap_content"/>
     60 
     61     </RadioGroup>
     62 
     63     <RadioGroup android:id="@+id/radioGroup_orientation_default"
     64         android:layout_width="wrap_content"
     65         android:layout_height="wrap_content">
     66 
     67         <RadioButton android:id="@+id/radioGroup_orientation_default_button0"
     68             android:layout_width="wrap_content"
     69             android:layout_height="wrap_content"/>
     70         <RadioButton android:id="@+id/radioGroup_orientation_default_button0"
     71             android:layout_width="wrap_content"
     72             android:layout_height="wrap_content"/>
     73 
     74     </RadioGroup>
     75 
     76     <RadioGroup android:id="@+id/radioGroup_orientation_vertical"
     77         android:layout_width="wrap_content"
     78         android:layout_height="wrap_content"
     79         android:orientation="vertical">
     80 
     81         <RadioButton android:id="@+id/radioGroup_orientation_vertical_button0"
     82             android:layout_width="wrap_content"
     83             android:layout_height="wrap_content"/>
     84         <RadioButton android:id="@+id/radioGroup_orientation_vertical_button0"
     85             android:layout_width="wrap_content"
     86             android:layout_height="wrap_content"/>
     87 
     88     </RadioGroup>
     89 
     90     <RadioGroup android:id="@+id/radioGroup_orientation_horizontal"
     91         android:layout_width="wrap_content"
     92         android:layout_height="wrap_content"
     93         android:orientation="horizontal">
     94 
     95         <RadioButton android:id="@+id/radioGroup_orientation_horizontal_button0"
     96             android:layout_width="wrap_content"
     97             android:layout_height="wrap_content"/>
     98         <RadioButton android:id="@+id/radioGroup_orientation_horizontal_button1"
     99             android:layout_width="wrap_content"
    100             android:layout_height="wrap_content"/>
    101 
    102     </RadioGroup>
    103 
    104 </LinearLayout>
    105