Custom progressbar drawable 2 XML

<?xml version="1.0" encoding="utf-8"?><rotate xmlns:android="http://schemas.android.com/apk/res/android"    android:fromDegrees="270"    android:pivotX="50%"    android:pivotY="50%"    android:toDegrees="270" >

    <shape        android:innerRadiusRatio="1000"        android:shape="ring"        android:thicknessRatio="2.0"        android:useLevel="true">

        <rotate            android:fromDegrees="0"            android:pivotX="50%"            android:pivotY="50%"            android:toDegrees="360" />

        <gradient            android:centerColor="#00FF00"            android:endColor="#00FF00"            android:startColor="#00FF00"            android:type="sweep" />

    </shape>


</rotate>