如何改变褪色橙色在ExpandableListView? [英] How to change the fading orange color In ExpandableListView?
本文介绍了如何改变褪色橙色在ExpandableListView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改褪色的橙色在ExpandableListView滚动时?
How can I change the fading orange color in ExpandableListView while scrolling ?
感谢
推荐答案
我真的不知道你想要什么。我想这是褪色的颜色可以在顶部和列表的底部,当你滚动。
I'm not really sure what you want... I guess it is the fading color available on top and on the bottom of your list when you're scrolling.
然后设置要什么颜色你想要的属性 cacheColorHint
!
Then set the property cacheColorHint
to what color you want !
getListView().setCacheColorHint(Color.WHITE);
您还可以通过这样禁用:
You can also disable it by doing this :
getListView().setFadingEdgeLength(0);
这篇关于如何改变褪色橙色在ExpandableListView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文