开发者

Android turn off scrolling animation

开发者 https://www.devze.com 2023-03-12 16:52 出处:网络
How do I stop an Android scrollview from having the inertia scrolling? Default use is when I scroll faster it keeps scrolling further after I lift my finger from th开发者_Go百科e device.

How do I stop an Android scrollview from having the inertia scrolling? Default use is when I scroll faster it keeps scrolling further after I lift my finger from th开发者_Go百科e device.

I would like it to just stop scrolling when I let go. Is there a flag in the XML for a scrollview for this?


There is the setSmoothScrollbarEnabled()-method which should deactivate this behavior. It also has a XML-Attribute called smoothScrollbar.

0

精彩评论

暂无评论...
验证码 换一张
取 消