Animator circularReveal = ViewAnimationUtils.createCircularReveal(
button,
0,
0,
0,
(float) Math.hypot(button.getWidth(), button.getHeight()));
circularReveal.setInterpolator(new AccelerateDecelerateInterpolator());
// Finally start the animation
circularReveal.start();
Comments
Post a Comment