Reputation: 1610
I've tried to use scrollBy and scrollTo, but they scroll too fast. Is there a way I can decide the speed at which the scrollView scrolls?
Upvotes: 0
Views: 1085
Reputation: 10540
You can try to pass in an Interpolator to adjust the speed. Subclass the Interpolator class to create whatever function to adjust the speed by.
edit: Hmm, I assumed that there would be an easy way to do this in a ScrollView since it's a constructor argument for a Scroller object. You might want to just do the scrolling yourself with a Scroller object using whatever interpolation you choose. I'll try to find more.
Upvotes: 1