androidlistviewcolorsfading

Is it possible to change the colour of the FadingEdge of a Listview?


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?


Solution

  • Yes you can !

    setCacheColorHint(Color.WHITE);