检测画廊的滚动速度
我正在制作一个带有图库视图的应用程序,但遇到了这个问题。我已经实现了调整图像大小,当选择居中或用户停止滚动时图像会变大。但我想这样做:当进行缓慢滚动时,图像从原始尺寸缓慢过渡到我定义的尺寸。有点像 htc 音乐,当您缓慢滚动曲目及其图像过渡时。如果有人有任何建议,我如何检测滚动的速度,我应该重写 Gallery 方法吗?我将不胜感激任何建议或想法。
I am making an app with gallery view and I have this problem. I have implemented resizing the image, to be bigger when it is centred when selected or the user stopped scrolling. But I want to do this: when doing a slow scroll, the image transitions slowly from its original size into the I defined. Kind of like htc music, when you are doing a slow scroll of the tracks and their images transition. If someone has any suggestions how I can detect the speed of scrolling and should I override an Gallery method maybe? I would appreciate any suggestions or thoughts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论