問題描述:
ListView滾動時,數據項變成黑色
問題解決辦法:
通過android:cacheColorHint = "#00000000"將背景設爲透明即可
<ListView
android:id="@+id/listView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:divider="#0072E3"
android:dividerHeight="0.5px"
android:cacheColorHint = "#00000000" >
</ListView>