沿曲线对 imageview 进行动画处理
我画了一个基本上是抛物线形状的弧线。我想要一个图像视图跟随该曲线并最终落在曲线结束的地面上。请建议我可以使用它来实现这一点的android API。
I have drawn an arc which is basically parabolic in shape.I want an imageview to follow that curve and eventually fall on the ground where the curve ends.Please suggest me android API's which I can use to achieve this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
TranslateAnimation 从一点到另一点
RotateAnimation
在图像沿曲线行进时旋转图像。如果需要,
AnimationSet
将这两者组合起来。TranslateAnimation to from one point to the other
RotateAnimation
to rotate the image as it travels along the curve.AnimationSet
to combine these two if needed.