Replace a plain submit button in a login form with a CircularProgressButton so users see a spinner during authentication without a separate progress overlay.
Show success or error state directly inside the button after an API call completes by toggling the animation state programmatically.
Add morphing button animations to any Android screen to give users clear visual feedback that an action is in progress.
This is an Android library that provides a button which can animate into a circular progress indicator. When a user taps the button, it morphs its shape from a standard rectangular button into a circle and displays a spinning progress arc, then can animate back to the button state or into a success or error state when the operation finishes. A short animated GIF in the README demonstrates the effect. The library is written in Java and is intended to be added to an Android project. It is available through JitPack, so you add a repository entry and a single dependency line to your Gradle build file to include it. If your project uses ProGuard to shrink and obfuscate the release build, the README includes a one-line rule to add to your ProGuard configuration so the animation does not break. The README is brief and does not go into detail about the full API, instead pointing to a wiki for screenshots and a user guide. The author also notes that an updated and extended version of this library exists under the name android-morphing-button, which offers additional morphing animations beyond the circular progress style. Contributions should be submitted as pull requests against the dev branch rather than the main branch. The library is released under the MIT license.
← dmytrodanylyk on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.