Scrollview inside Listview
<p>I have a listview with mulitple rows, one of the rows must be a listview also with multiple rows, but only 2 of them need to be displayed, the rest displayed only on scrolling. i added a ScrollView with a LinearLayout inside the listview int he layout file and I'm adding the contents of the rows in the java file. The ScrollView doesn't seem to scroll well. Is there a better way of achieving this?
This is my layout file.</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/listLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" &gt;

&lt;ListView
    android:id="@android:id/list"
    android:layout_width="1px"
    android:layout_height="1px"
    android:layout_weight="1"
    android:cacheColorHint="#00000000"
    android:scrollbars="vertical" &gt;
&lt;/ListView&gt;

&lt;RelativeLayout
    android:id="@+id/listItem"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" &gt;

    &lt;ImageView
        android:id="@+id/formImage"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:scaleType="fitXY" /&gt;

    &lt;include layout="@layout/vertical_list_item_title_area" /&gt;
&lt;/RelativeLayout&gt;


    &lt;ScrollView
    android:id="@+id/scrollView"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" 
    android:fillViewport="true"
    android:layout_weight="1"&gt;

    &lt;LinearLayout
        android:id="@+id/childListLayout"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" &gt;

    &lt;/LinearLayout&gt;
&lt;/ScrollView&gt;

&lt;com.illumemobile.testapp.Classes.SCClasses.SCActivities.SCCustomActivities.SCCustomGallery
    android:id="@+id/horizontallistview"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:scaleType="fitXY"
    android:spacing="33dip" /&gt;
</code></pre>

<p></p>
