Mar*_*k D 6 graphics animation android
所以这是我的XML动画
<?xml version="1.0" encoding="utf-8"?>
<rotate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="0"
android:toDegrees="360"
android:pivotX="50%"
android:pivotY="50%"
android:duration="3000"
android:repeatCount="infinite"
android:interpolator="@android:anim/linear_interpolator" />
Run Code Online (Sandbox Code Playgroud)
我将此应用于ImageView作为旋转图像的方法.但这一运动非常不稳定.每次图像旋转时,它似乎在旋转的两个点上跳过,彼此相隔180度.我看不出有任何理由发生这种情况,是否有人遇到这种困难并找到了解决办法?