-
-
Save hitherejoe/7aaf961ae916b48dd806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int centerX = (startView.getLeft() + startView.getRight()) / 2; | |
int centerY = (startView.getTop() + startView.getBottom()) / 2; | |
float finalRadius = (float) Math.hypot((double) centerX, (double) centerY); | |
Animator mCircularReveal = ViewAnimationUtils.createCircularReveal( | |
targetView, centerX, centerY, 0, finalRadius); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment