Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android disable Scrollview end animation

There is animation when reaching the end of Scrollview with great velocity. The animation basically pulling the ScrollView up when scrolling down reaching the end, indicating that it's the end of that view. How can i disable it?

My situation is that the ScrollView sitting on top of another view that has dark background and it spoils it a bit with that animation.

like image 491
homerun Avatar asked Dec 31 '22 07:12

homerun


1 Answers

I think you mean over scroll effect which can be disabled in your xml

 android:overScrollMode="never"

or

 listView.setOverScrollMode(View.OVER_SCROLL_NEVER);
like image 183
Farid Avatar answered Jan 13 '23 09:01

Farid