Listview 添加圆角背景后,滚动引起的bug
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/category_list_bg"
android:layout_margin="20dp">
<ListView android:layout_width="fill_parent"
android:layout_height="fill_parent" android:id="@android:id/list"
android:cacheColorHint="#00000000" android:divider="#cccccc"
android:scrollbars="none"
android:dividerHeight="2dp">
</ListView>
</LinearLayout>
android:cacheColorHint="#00000000" 就可以