<ProgressBar
android:id="@id/exo_player_loading"
android:layout_width="160dp"
android:layout_height="160dp"
android:indeterminateBehavior="repeat"
android:indeterminateDrawable="@drawable/loading_anim" />
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@mipmap/ic_video_loading"
android:fromDegrees="0.0"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toDegrees="360.0" />
参考:https://blog.csdn.net/chenlove1/article/details/41758977