RotateLoading

yankai-victor edited this page Oct 5, 2015 · 5 revisions

RotateLoading

RotateLoading is a nice progressbar.

Supported on API Level 11 and above.

The idea was inspired by this gif.

And the effect is here.

ScreenShot

Usage

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.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.