我的Android应用程序中的ExpandableListView有问题。我设置了自定义背景色,但在滚动列表时,颜色会变为黑色,直到滚动停止。这是正常的,或者你可以改变“onScrollColor”?滚动时ExpandableListView的Backgroundcolor
2
A
回答
6
我有过这样的问题,在我的名单XML android:cacheColorHint = "#00000000"
0
确保您在本例中使用ViewHolder
为内部的getView方法
的背景,这是Android的改掉重用美景,一边滚动如果您不遵守缓存规则(例如,在示例中使用ViewHolder),您就会遇到上述问题。
相关问题
- 1. ExpandableListView不能自动滚动
- 2. 无法快速滚动ExpandableListView
- 3. 滚动视图中的动画ExpandableListView
- 4. 保存滚动和扩展组expandablelistview
- 5. Scroll View xml包含2 expandablelistview不滚动
- 6. jQuery backgroundColor动画
- 7. 在滚动ExpandableListView时复制选择复选框
- 8. ExpandableListview在滚动时儿童位置发生变化
- 9. 在expandablelistview的屏幕顶部移动/滚动点击listitem视图
- 10. 尽管滚动,更改ListView中单个视图的Backgroundcolor
- 11. 动态更改CardView的BackgroundColor
- 12. 自动滚动Clickable Group of ExpandableListView(与BaseExpandableListAdapter绑定)
- 13. BACKGROUNDCOLOR
- 14. 带CursorTreeAdapter的ExpandableListView当滚动上下时展开扩展组更改
- 15. 使用包含ExpandableListView上RelativeLayout的滚动型
- 16. 的Android ExpandableListView内滚动型不会扩大全高
- 17. Button BackgroundColor禁用LinearLayout BackgroundColor
- 18. 来自JSON的动态ExpandableListView
- 19. 具有expandablelistview父级水平滚动视图子视频库
- 20. 为什么展开/折叠和滚动ExpandableListView速度慢?
- 21. NSTextfield的Backgroundcolor
- 22. HighCharts backgroundcolumn的backgroundcolor
- 23. ListView滚动的同时滚动视图
- 24. BackGroundColor DateField
- 25. WPF BackgroundColor
- 26. Jquery的不能动画backgroundColor属性
- 27. 滚动查看滚动视图时的水平滚动
- 28. 滚动时滞时
- 29. 滚动时
- 30. IOS:滚动时
使用ajust设置该属性的Android这个属性解决它:cacheColorHint = RGB的backgroung的价值,你正在使用或“#FFF” – 2012-03-18 15:33:48