竖向ScrollView中嵌套横向ScrollView,横向ScrollView嵌套ListView。

具体代码见附件。

<ScrollView

        android:layout_width="match_parent"

        android:layout_height="match_parent">


        <RelativeLayout

            android:layout_width="match_parent"

            android:layout_height="wrap_content" >

               <HorizontalScrollView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content" 

                android:layout_below="@id/line">


                <LinearLayout

                    android:layout_width="wrap_content"

                    android:layout_height="wrap_content" >


                    <com.wauoen.fmp_test.MyListView

                        android:id="@+id/listview"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                         />

                </LinearLayout>

            </HorizontalScrollView>


        </RelativeLayout>

    </ScrollView>