EditText doesn't fill the whole height of the window
- by user565447
EditText doesn't fill the whole height of the window. Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<Button android:id="@+id/bItalic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
></Button>
<Button android:id="@+id/bBold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<Button android:id="@+id/bUnderline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<Button android:id="@+id/bStrike"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="S"
/>
<Button android:id="@+id/bSub"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<Button android:id="@+id/bSup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<ImageButton
android:id="@+id/bInsertImage"
android:src="@drawable/insertimage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageButton
android:id="@+id/bInsertTable"
android:src="@drawable/table"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<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">
<ScrollView
android:id="@+id/scroll01"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<HorizontalScrollView
android:id="@+id/scroll_hor01"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText
android:id="@+id/VisualPane"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</HorizontalScrollView>
</ScrollView>
<ScrollView
android:id="@+id/scroll02"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<HorizontalScrollView
android:id="@+id/scroll_hor02"
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" />
</HorizontalScrollView>
</ScrollView>
</FrameLayout>
</TabHost>
</FrameLayout>
</LinearLayout>
Here is a screenshot:
Why doesn't EditText fill the whole height of the window?