我有一個XML佈局如下。我有一個TExt視圖,然後是一些複選框,然後是一個按鈕。我已將所有複選框都包含在線性佈局中,併爲此設置了滾動視圖。「我無法在滾動後查看按鈕,我該怎麼辦?XML佈局 - 按鈕滾動後不可見
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView />
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:orientation="vertical" >
<LinearLayout>
<CheckBox />
<CheckBox />
<CheckBox/>
<CheckBox/>
<CheckBox/>
<CheckBox/>
<CheckBox/>
<CheckBox/>
<CheckBox />
<CheckBox/>
<CheckBox />
</LinearLayout>
</ScrollView>
<Button
</Button>
</LinearLayout>
您的問題標題和說明不符?奇怪 –
對不起,早上5點我就要睡了。謝謝指出。 – chitranna
晚安我親愛的朋友,睡得好。 –