Android 滚动视图插值
滚动视图上可以有插值器吗?我希望滚动时有漂亮的动画。
我在水平滚动视图中有列,我想用插值器或类似的东西滚动到每列的开头。
是否可以?
is it possible to have interpolator on scrollview? I'd like to have nice animation when scrolling.
I have columns in horizontalscrollview, and I want to scroll to begining of each column with interpolator or sth simmilar.
Is it possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 sdk 中的 HorizontalScrollView,不行。
该视图中使用的 Scroller 被声明为私有,并且不提供其他访问方法。
您可以从 sdk 中提取 HorizontalScrollView 代码并以这种方式进行更改。
Using the HorizontalScrollView from the sdk, no.
The Scroller used in that view is declared private and no other access methods are provided.
You could extract the HorizontalScrollView code from the sdk and make changes that way.