Android 显示进度条

<ProgressBar
        android:id="@+id/progressBar"
        style="?android:attr/progressBarStyleLarge"
        android:layout_width="50dp"
        android:layout_height="50dp"
        mce_style="?android:attr/progressBarStyleLarge"
        android:indeterminateDrawable="@drawable/progressbar2" />
    <!-- mce_style="?android:attr/progressBarStyleLarge" -->


progressbar2.xml 在Drawable文件夹

<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:drawable="@drawable/loadingbar"
    android:pivotX="50%"
    android:pivotY="50%" />


你可能感兴趣的:(android)