Slide 46
Slide 46 text
int x = (view.getLeft() + view.getRight()) / 2;
int y = (view.getTop() + view.getBottom()) / 2;
int startRadius = 0;
int endRadius = Math.max(view.getWidth(), view.getHeight());
Animator anim = ViewAnimationUtils
.createCircularReveal(view, x, y, startRadius, endRadius);
view.setVisibility(View.VISIBLE);
anim.start();
Circular Reveal
(x,y)
left right
top
bottom