What I did..
<item>
<rotate
android:fromDegrees="40"
android:toDegrees="20"
android:pivotX="25%"
android:pivotY="50%" >
<shape
android:shape="line"
android:top="1dip" >
<stroke
android:width="1dip"
android:color="#FF0000" />
</shape>
</rotate>
</item>
It rotates but doesn't bend. It needs to be bent to form an arc like shape
Any Idea?
You can draw a
ringshape, rotate it based on your preference and use it withProgressBarasprogressDrawablewith a set progress.drawable.xml
layout.xml
You can set the progress dinamically and also easy to animate it
*Use dimen res values