I am using this code
<set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true">
<rotate
android:radius="10dp"
android:duration="300"
android:fromYDelta="0%p"
android:fromXDelta="0%p"
android:fromDegrees="0.0"
android:toDegrees="360.0"
android:interpolator="@android:anim/linear_interpolator"
android:scaleX="-1"
android:pivotX="50%"
android:pivotY="50%" />
</set>
It is rotating the imageView in x-axis but i want to rotate the imageview in z-axis how can i do it