在初始化ListView时,设置其相应属性
listview.setCacheColorHint(Color.TRANSPARENT);
源码解释:
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background
在初始化ListView时,设置其相应属性
listview.setCacheColorHint(Color.TRANSPARENT);
源码解释:
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background