Any way of adding ListView\'s bounce effect to regular scrollview? By bounce I mean the rubber band like effect when you hit the bottom of the list.
You probably have a customized Samsung device. You should know that the bounce effect is not the default behavior of the Android OS, it's something introduced by Samsung (and it's poorly implemented as well, they should've made the ScrollView
behave the same). Overscroll support was introduced in Android 2.3, and the default behavior is not bouncing, instead it's a glow of light with the intensity directly proportional to the scroll speed / "force". And it works everywhere (listviews, scrollviews, webviews, etc).
In conclusion, you should not worry about this. There's no simple argument that you can pass to ScrollView
to make it overscroll like that. And going through all the trouble of extending the ScrollView
class is not worth it, IMO. Just rely on the default behavior.
If Samsung wants to mess with their users and give them an inconsistent UI, then so be it.