How to implement bounce in scrollview?

I have just one simple database application in which I used scrollview.Its works fine. But scrollview does not bounce.

Is it possible to enable scanning in scrollview?

Thanks in advance.

+4
source share
1 answer

Warning: I really don't know how to do this, I just think about how I approach this ...

Have you tried to put empty space at both ends of the view? This way it will look as if the user is scrolling the start / end. If you have a listener, perhaps you can check if the user is in the range of 0-10% or the range of 90-100%, and if so, then “bounce” them back? \

Edit: I found this article: Bounce Property Support for Scrollview on Android

0
source

Source: https://habr.com/ru/post/1340915/


All Articles