Problem with using ScrollView in a homepage widget
<p>I'm able to successfully use a ScrollView inside the layout xml file for an application.  However, when I tried using a ScrollView inside the layout xml file for a widget, I get a "Problem Loading Widget" error as soon as I drop the widget in the emulator.  If I comment out the ScrollView, then the widget shows up in the emulator.  I've pasted my layout xml file below.  Any thoughts on how to get past this error would be much appreciated.</p>

<p>
</p>

<pre><code>&lt;LinearLayout 
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:paddingBottom="3dip"&gt;

    &lt;LinearLayout
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:paddingLeft="6dip"
        android:paddingRight="6dip"
        android:paddingBottom="3dip"&gt;

        &lt;Button 
            android:id="@+id/ok_widget"
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_gravity="right"
            android:text="@string/button_ok" /&gt;
    &lt;/LinearLayout&gt;

    &lt;ScrollView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:fillViewport="true"
        android:layout_marginBottom="50dip"&gt;

        &lt;LinearLayout 
            android:id="@+id/linear_layout"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingBottom="3dip"&gt;      

        &lt;/LinearLayout&gt;

    &lt;/ScrollView&gt;

    &lt;RelativeLayout 
        android:layout_marginTop="-50dip" 
        android:gravity="bottom" 
        android:layout_height="wrap_content" 
        android:layout_width="fill_parent"&gt;
        &lt;LinearLayout
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:paddingLeft="6dip"
            android:paddingRight="6dip"
            android:paddingBottom="3dip"&gt;
            &lt;Button 
                android:id="@+id/ok_widget"
                android:layout_width="wrap_content" 
                android:layout_height="wrap_content" 
                android:layout_gravity="right"
                android:text="@string/button_ok" /&gt;
        &lt;/LinearLayout&gt;
    &lt;/RelativeLayout&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>
