2011-01-12 10 views
1
<FrameLayout 
      android:id="@+id/FrameLayout02" 
      android:layout_height="fill_parent" 
      android:layout_width="fill_parent" 
      > 

      <TabHost android:id="@+id/tabhost" 
       android:layout_width="fill_parent" 
       android:layout_height="fill_parent"> 
       <TabWidget android:id="@android:id/tabs" 
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
       /> 
       <FrameLayout android:id="@android:id/tabcontent" 
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
        android:paddingTop="62px"> 


        <EditText 
         android:id="@+id/VisualPane" 
         android:layout_width="fill_parent" 
         android:layout_height="fill_parent" 
        /> 

        <EditText 
         android:id="@+id/HTMLPane" 
         android:layout_width="fill_parent" 
         android:layout_height="fill_parent" 
         /> 
       </FrameLayout> 
      </TabHost> 
     </FrameLayout> 

この距離を減らすことはできますか? http://s47.radikal.ru/i118/1101/92/6844493547b4.jpg 私はどのようにTabHostで距離を減らすことができますか?

android:paddingTop="62px" 

属性を変更しようとしました。しかし、それは無用です。

答えて

2

は、その後、あなたが:)また、paddingTop値で

を再生することができます代わりに "fill_parent"
android:layout_height = "wrap_content"を設定しよう
関連する問題