<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" > 
    <LinearLayout 
        android:orientation="vertical" 
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" > 
    <TextView
     android:id="@+id/tvgc"
     android:gravity="center"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:background="#DCDCDC"
     android:text="藁城手机网欢迎你" />
    <ImageView
     android:id="@+id/imggc"
     android:gravity="center"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:src="@drawable/gc"
     android:adjustViewBounds="true"
     android:scaleType="fitXY" /> 
        <TabHost 
            android:id="@+id/tabhost1"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"> 
        <LinearLayout android:orientation="vertical"
            android:layout_width="fill_parent" 
            android:layout_height="fill_parent" > 
         <FrameLayout 
             android:id="@android:id/tabcontent"
             android:layout_width="fill_parent" 
             android:layout_height="wrap_content" 
             android:layout_alignParentBottom="true"
              android:layout_weight="1" />  
           <TabWidget android:id="@android:id/tabs"
           android:layout_width="fill_parent" 
           android:layout_height="wrap_content" 
           android:background="#FFFFFF" /> 
   </LinearLayout> 
   </TabHost> 
  </LinearLayout>
</RelativeLayout> 
 
//tabcontent与tabwidget交换位置, android:layout_weight="1"