Sample demonstrating circular reveal effect. It covers creating an Animator with ViewAnimationUtils as well as defining the parameters of the circular reveal including starting position and radius.
Sample demonstrating circular reveal effect. Reveal animations can be used to provide visual continuity when showing or hiding views. With ViewAnimationsUtils.createCircularReveal() you can use the startRadius and endRadius to define a hiding or revealing animation. You can also define the center of the animation, in this sample the center is x=0, y=0 which defines the top left of the View as the center.
Press the Reveal button to see the the circular reveal.
1: http://developer.android.com/reference/android/view/ViewAnimationUtils.html#createCircularReveal(android.view.View, int, int, float, float)
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.
- Stack Overflow: http://stackoverflow.com/questions/tagged/android
If you've found an error in this sample, please file an issue: https://github.com/android/animation
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.