Reputation: 3986
I'm trying to use a listview in my application with a gradient from the bottom. I do not want to use the gradient in the background, I like to use it in the listview. To try to explain better, I attached a picture of what I want.
The background will show images that will change.
I searched a lot and made several tests, but without success. I appreciate any help.
Thanks and regards
Upvotes: 1
Views: 281
Reputation: 698
Android has something built in for that. It is called fading edge. The two XML properties are android:fadingEdgeLength and android:requiresFadingEdge. If you were hoping to have the image gradient change, I don't think they are dynamic.
Upvotes: 3