更改TabHost里的第一个LinearLayout为RelativeLayout。并在TabWidget中添加android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="match_parent" >
<RelativeLayout
android:id="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" >
android:layout_width="match_parent"
android:layout_height="wrap_content" >
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >