0
我將scrollView的背景顏色設置爲白色,但是當我改變其中的元素的高度時,我得到了灰色在元素下,我的意思是如果在我的視圖下有額外的空間,在我的滾動視圖這個區域將是灰色或黑色取決於Theme.Holo.Light和(灰色)Theme.Holo.dark(黑色)我得到了scrollView下的灰色
<ScrollView
android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:background="@android:color/white"
>
.......
</ScrollView >
你可以發佈你的佈局文件和/或你設置scrollView屬性的代碼嗎? – mjsalinger
在此處發佈設計? –
您的scrollView的父佈局可能有一些內部填充..?發佈完整的xml代碼 – Houcine