开发者

How to Rotate Image based on Velovity + GestureListener

开发者 https://www.devze.com 2023-03-05 02:31 出处:网络
I m rotating Image in \"onFling(MotionEvent e1, MotionEvent e2, final float velocityX, final float velocityY) \" method using RotateAnimation.Here I am using an fix angle to rotate image , pls su开发者

I m rotating Image in "onFling(MotionEvent e1, MotionEvent e2, final float velocityX, final float velocityY) " method using RotateAnimation.Here I am using an fix angle to rotate image , pls su开发者_如何学Goggest me how can I rotate angle based on velocity pls.

Thanx


I had referred something like this.. Nice link but you have to make lot of changes with respect to make it perfect rotate animation logic. Here is the dialer animation link

0

精彩评论

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