Is there a way to not let this happen? It's quite ugly aesthetically.
Asked
Active
Viewed 638 times
3 Answers
1
That's not a bug. That's a feature!
If you want to disable it, try calling:
listView.setOverScrollMode(View.OVER_SCROLL_NEVER);
Unfortunately, it apparently doesn't work on all devices. (See, for example, here.)
-
Ok darn. I'm using API 7, so it does not have this method. :( – Maurice Dec 27 '11 at 06:13
0
Add one of these attributes to your list view in your layout file.
<ListView
android:overScrollHeader="@null"
android:overScrollFooter="@null" />
or
<ListView android:overScrollMode="never" />

bkaramik
- 88
- 7
-1
Force setting a background color to the list item solves the highlighting issue.

Maurice
- 6,413
- 13
- 51
- 76