我真的只需要我ScrollView
的 3 中LinearLayout
的1 个包裹ViewFlipper
,但我尝试将它包裹在我的第三个孩子周围,它给了我ScrollView
只能容纳一个直接孩子的错误。
任何解决方法?
<ViewFlipper>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="110dp">
<!--- Stuff --->
</ScrollView>
</LinearLayout>
</ViewFlipper>