Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BookLoading looks like a book.
Supported on API Level 11 and above.
The idea was inspired by this gif in Dribbble.
And the effect is here
Add BookLoading to your xml.
<com.victor.loading.book.BookLoading android:id="@+id/bookloading" android:layout_width="150dp" android:layout_height="100dp"/>
When start() is called, the animation will start.
When stop() is called, the animation will stop after the animation is finished.
If you want to change the color, you can edit the color.xml
<resources> <color name="book_loading_background">#ffffff</color> <color name="book_loading_book">#ff33b5e5</color> <color name="book_loading_page">#ffffff</color> </resources>