Reputation: 5594
I have a long ListView with a white background (android:background="@android:color/white"
) and transparent cache color (android:cacheColorHint="#00000000"
). Two questions:
I am testing on a variety of devices. On older ones, the fade works fine. But on the newer ones, I am not seeing any fade at all, just a sharp cutoff. Why might that be and how do I fix it?
A lot of the times the elements in my list line up so that there is just enough whitespace at the bottom, that the fade doesn't reach the text and is not visible. Is there a way to make the fade cover more of the list?
Upvotes: 6
Views: 5694
Reputation: 5594
Found my own answers:
android:requiresFadingEdge="vertical"
android:fadingEdgeLength="48dp"
EDIT: changing to dp instead of sp
Upvotes: 29