RotateAnimation gets the current angle

Any tricks for getting the RotateAnimation angle? I have an image that rotates with RotateAnimation, imageview.getRotation () is always 0.0. Maybe this is a trick to get the rotation angle? Thaks

+1


source to share


1 answer


You can use a SensorEvent or a position sensor to get the angle of rotation.

This will help SensorEvent here.



It will help for PositionSensors here.

Hope this helps you.

-2


source







All Articles