Skip to content Skip to sidebar Skip to footer

Rotateanimation Get Current Angle

Any tricks to get RotateAnimation current angle? I've an imageview that is rotate with RotateAnimation, imageview.getRotation() is always 0.0. Maybe it's a trick to get the rotatio

Solution 1:

You can use SensorEvent or Position Sensor for get rotation angle.

This is help for SensorEvent here.

This is help for PositionSensors here.

I hope this is help you.

Post a Comment for "Rotateanimation Get Current Angle"