Alex Rivera | Logout

ListView top highlight on scrolling

Asked 2011-10-15T12:23:19.730
20

The border displays a default color (that's orange on my Nexus S) while scrolling a ListView to the limit. How to change that color?

I really don't know how to explain it. Just look at this picture:

android list view top highlight on scrolling

So, how to change the highlight color when the ListView scrolling to the border? using themes or styles

Edit
Report

1 Answer

3

Use it in XML file--

<ListView ---
     android:fadingEdge="none"
   ---</ListView>

EDITED:

Using fading edges may introduce noticeable performance degradations and should be used only when required by the application's visual design. To request fading edges with API level 14 and above, use the android:requiresFadingEdge attribute instead.

Check this API link

answered 2012-03-28T04:57:38.400

Your Answer