Я пытаюсь сделать анимацию вращающегося изображения. Мне нужно повернуть значок вокруг , как и в панели прогресса, но то, что я получаю, - это изображение, вращающееся вокруг круга. Вот мой код анимации
<?xml version="1.0" encoding="utf-8"?>
<rotate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="0"
android:toDegrees="360"
android:interpolator="@android:anim/linear_interpolator"
android:pivotX="50%"
android:pivotY="50%"
android:duration="2500"
android:repeatCount="infinite"
android:repeatMode="restart"
/>
Где я здесь ошибаюсь? Благодаря