问题
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 rotation angle ? Thaks
回答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.
来源:https://stackoverflow.com/questions/26139963/rotateanimation-get-current-angle