Get current RotationAngle while Animation is running on Android -
i'm rotating imageview using animation defined xml file. <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareinterpolator="false" > <rotate android:interpolator="@android:anim/linear_interpolator" android:pivotx="50%" android:pivoty="50%" android:fromdegrees="0" android:todegrees="90" android:fillafter="true" /> </set> although imageview has getrotation() method , returns first value has been set image object. is there anyway current rotation degrees using xml animation ? if not, should best way go it? public class customimageview extends imageview { private objectanimator rotationanimator; public customimageview(context context) { super(context); } public customimageview(context con...