有人可以解释为什么scrollview没有显示他的孩子元素?
我在一个linearlayout垂直内部有很多textview,这个linearlayout在scrollview中…
但我没有看到任何scrollview既没有textviews ..
这是XML布局
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/scrollViewCheck"
android:gravity="center"
android:padding="10dip"
android:text="Pick which items you want to count"
android:textAppearance="?android:attr/textAppearanceMedium" >
android:id="@id/scrollViewCheck"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/bottomSettings"
android:scrollbarFadeDuration="0" >
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical" >
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Test"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:id="@id/bottomSettings"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
android:id="@+id/timeButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Choose Count Time" />
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/timeButton"
android:orientation="horizontal" >
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Back" />
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Start" />
提前致谢 ?