Partly missing content problem in ScrollView on an AbsoluteLayout
<p>I have the following layout:</p>

<pre><code>&lt;AbsoluteLayout android:layout_width="fill_parent"
    android:id="@+id/absoluteLayout1" android:layout_height="wrap_content"
    xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;TextView android:layout_width="fill_parent" android:layout_x="0dip"
        android:id="@+id/textView1" android:layout_height="wrap_content"
        android:text="Hello" android:layout_y="0dip"&gt;&lt;/TextView&gt;
    &lt;ScrollView android:layout_x="0dip" android:layout_y="100dip"
        android:id="@+id/ScrollView01" android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:scrollbars="vertical"&gt;

        &lt;LinearLayout android:id="@+id/LinearLayout01"
            android:layout_width="fill_parent" android:layout_height="fill_parent"
            android:layout_weight="0" android:orientation="vertical"
            xmlns:android="http://schemas.android.com/apk/res/android"&gt;

        &lt;/LinearLayout&gt;

    &lt;/ScrollView&gt;

&lt;/AbsoluteLayout&gt;
</code></pre>

<p>And a short code:</p>

<pre><code>public class LayoutTest extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        LinearLayout  linerLayout=(LinearLayout)findViewById(R.id.LinearLayout01);

        for (int i=1;i&lt;=20;i++) {
            Button b=new Button(this);
            b.setText("Button "+i);
            linerLayout.addView(b,0);
        }

    }
}
</code></pre>

<p><strong>My problem is: I don't see the last two button what I generated!</strong> </p>

<p>I figured out this is because the ScrollView has an Y value in: android:layout_y="100dip".</p>

<p>The 100 pixels is exactly the same what I don't see.</p>

<p>If I put an empty view after the buttons with 100 pixels height:</p>

<pre><code>&lt;ScrollView android:layout_x="0dip" android:layout_y="100dip"
        android:id="@+id/ScrollView01" android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:scrollbars="vertical"&gt;

        &lt;LinearLayout android:id="@+id/LinearLayout01"
            android:layout_width="fill_parent" android:layout_height="fill_parent"
            android:layout_weight="0" android:orientation="vertical"
            xmlns:android="http://schemas.android.com/apk/res/android"&gt;

            &lt;TextView android:layout_width="fill_parent" android:text=""
                android:id="@+id/TextViewGap" android:layout_height="100px"
                android:background="#ff0000"&gt;&lt;/TextView&gt;
        &lt;/LinearLayout&gt;

    &lt;/ScrollView&gt;
</code></pre>

<p>then I see every button. If I set 101 pixels for the TextView then I see a red line at bottom of the screen.</p>

<p>My question is: why I don't see the full content of my ScrollView when it has an Y offset on an AbsoluteLayout?</p>
