absolute layout in scroll view on android
<p>i want to Anroid xml desing in the following format i did but it does not work.</p>

<p>xml layout:coding</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;LinearLayout android:id="@+id/LinearLayout01"
        android:layout_width="fill_parent" android:layout_height="fill_parent"
        xmlns:android="http://schemas.android.com/apk/res/android"&gt;
        &lt;TableLayout android:id="@+id/widget836"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:orientation="vertical"&gt;
            &lt;ImageView android:id="@+id/widget837" android:layout_width="wrap_content"
                android:layout_height="wrap_content"&gt;
            &lt;/ImageView&gt;
        &lt;/TableLayout&gt;
        &lt;ScrollView android:id="@+id/ScrollView111"
            android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;

            &lt;AbsoluteLayout android:id="@+id/widget883"
                android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;

                &lt;EditText android:id="@+id/email" android:layout_width="303px"
                    android:layout_height="56px" android:text="Email" android:textSize="18sp"
                    android:layout_x="1px" android:layout_y="15px"&gt;
                &lt;/EditText&gt;
                &lt;EditText android:id="@+id/pass" android:layout_width="303px"
                    android:layout_height="56px" android:text="password"
                    android:textSize="18sp" android:layout_x="3px" android:layout_y="57px"&gt;
                &lt;/EditText&gt;

                &lt;TextView android:id="@+id/enter" android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:text="Enter an email address and password above, and your accout will be created."
                    android:layout_x="0px" android:layout_y="65px"&gt;
                &lt;/TextView&gt;
                &lt;TextView android:id="@+id/primarydisplay"
                    android:layout_width="100px" android:layout_height="40px"
                    android:text="Primary Display" android:textStyle="bold"
                    android:layout_x="0px" android:layout_y="75px"&gt;
                &lt;/TextView&gt;
                &lt;TextView android:id="@+id/gps" android:layout_width="100px"
                    android:layout_height="40px" android:text="Speed &gt;"
                    android:textStyle="bold" android:layout_x="200px" android:layout_y="75px"&gt;
                &lt;/TextView&gt;
            &lt;/AbsoluteLayout&gt;
            &lt;AbsoluteLayout android:id="@+id/widget884"
                android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
                &lt;TextView android:id="@+id/distanceunit"
                    android:layout_width="100px" android:layout_height="40px"
                    android:text="Distance Unit" android:textStyle="bold"
                    android:layout_x="0px" android:layout_y="85px"&gt;
                &lt;/TextView&gt;
                &lt;TextView android:id="@+id/miles" android:layout_width="100px"
                    android:layout_height="40px" android:text="Miles &gt;"
                    android:textStyle="bold" android:layout_x="200px" android:layout_y="85px"&gt;
                &lt;/TextView&gt;
            &lt;/AbsoluteLayout&gt;
        &lt;/ScrollView&gt;
    &lt;/LinearLayout&gt;
</code></pre>

<p>Log cat error:</p>

<p>Caused by: java.lang.IllegalStateException: ScrollView can host only one direct child</p>

<p>pleae correct me.</p>
