-
Notifications
You must be signed in to change notification settings - Fork 204
RotateLoading
yankai-victor edited this page Oct 5, 2015
·
5 revisions
RotateLoading is a nice progressbar.
Supported on API Level 11 and above.
The idea was inspired by this gif.
And the effect is here.
Add RotateLoading to your xml.
<com.victor.loading.rotate.RotateLoading
android:id="@+id/rotateloading"
android:layout_width="80dp"
android:layout_height="80dp"
app:loading_width="5dp"
app:loading_color="#ffffff"
android:layout_centerInParent="true"/>
When start() is called, the view of loading will show.
When stop() is called, the view of loading will disappear.
Wow!