<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"
开发者_如何学JAVA />
</FrameLayout>
</TabHost>
</FrameLayout>
How Can I decrease this distance?
I have tried to change the attributeandroid:paddingTop="62px"
But it is useless.
Try to set the android:layout_height = "wrap_content"
instead of "fill_parent"
Then you can play with the paddingTop value also :)
精彩评论