How to Change The Overscroll Color in Android 2.3.1

Is there a way to override the overscroll glow effect in listview on Gingerbread

See solution here: How can I change the OverScroll color in Android 2.3.1?

ScrollView : Change the edge effect color with Holo

I found a partial answer to my question, I was actually referring to the overscroll attribute of the ScrollView. It seems to be possible to disable it using the code below:

<ScrollView
...
android:overScrollMode="never"
... />

However, it is impossible to modify the color using the overScrollHeader and overScrollFooter attributes as their values are just ignored and the default blue one is shown instead.

How is the name of foliage in this field ScrollView?

This is usually referred to as overscroll or edge effect. More info: How can I change the OverScroll color in Android 2.3.1?

Overlay image at the end of ListView

Set this on property on your ListView:

android:fadingEdge="none"

Android setHorizontalFadingEdgeEnabled not working with Samsung Galaxy S3 GT-I9300

Okay found it:

Change HorizontalScrollView's light color - OverScrollMode

The key is to invoke setOverScrollMode.



Related Topics



Leave a reply



Submit