I have an Android scrollview with a white background. The fading edge is a white translucent gradient. I would like to change it be black instead of white. I have a ListView
EDIT: this does not answer the question, which was asking for ScrollView
. This answer only works on AbsListView
and descendants (including ListView
).
Fading edge color is controlled by the android:cacheColorHint
attribute.
E.g.:
will set the background to white, and the cacheColorHint
is used to draw the fading edge color -- in this case, it would be black.