child1.xml文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:Android="http://schemas.android.com/apk/res/android"
android:id="@+id/child1"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RatingBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rating="2.5" >
</RatingBar>
</LinearLayout>
child2.xml文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RadioButton" >
</RadioButton>
</LinearLayout>
child3.xml文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<AnalogClock
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</AnalogClock>
</LinearLayout>
更多Android相关信息见Android 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=11
