Android examples for android.animation:Animator
create View In Animator
//package com.java2s; import android.animation.Animator; import android.view.View; import android.view.ViewAnimationUtils; public class Main { public static Animator createInAnimator(View view) { // get the center for the clipping circle int cx = view.getWidth() / 2; int cy = view.getHeight() / 2; // get the final radius for the clipping circle int finalRadius = Math.max(view.getWidth(), view.getHeight()); // create the animator for this view (the start radius is zero) return ViewAnimationUtils.createCircularReveal(view, cx, cy, 0, finalRadius).setDuration(300); }//from w w w .j a v a 2s . com }