是否有可能改变ListView的FadingEdge的颜色?有可能、颜色、ListView、FadingEdge

2023-09-13 00:34:42 作者:清冷

我想给的ListView控件从任何在它周围有褪色的效果。默认情况下它被设置为任何颜色你的ListView的。我可以调整FadingEdge的和彩色的取向FadingEdge的大小,但并非如此。这可能吗?

I want to give the effect that the ListView has faded from whatever is around it. By default it is set to whatever colour your ListView is. I can adjust the orientation of the FadingEdge and the size of the FadingEdge but not the colour. Is it possible?

推荐答案

当然可以!

setCacheColorHint(Color.WHITE);