@@ -0,0 +1,1046 @@
+package pl.vehicle_history;%0A%0Aimport android.animation.Animator;%0Aimport android.annotation.TargetApi;%0Aimport android.os.Build.VERSION_CODES;%0Aimport android.view.View;%0Aimport android.view.ViewAnimationUtils;%0A%0Apublic class RevealAnimator %7B%0A%0A    private static final int DURATION = 600;%0A%0A    @TargetApi(VERSION_CODES.LOLLIPOP)%0A    public Animator buildRevealAnimation(View startView, View revealedView) %7B%0A        int%5B%5D startViewLocation = new int%5B2%5D;%0A        startView.getLocationOnScreen(startViewLocation);%0A%0A        int%5B%5D revealedViewLocation = new int%5B2%5D;%0A        revealedView.getLocationOnScreen(revealedViewLocation);%0A%0A        int cx = (startViewLocation%5B0%5D + (startView.getWidth() / 2));%0A        int cy = (startViewLocation%5B1%5D + (startView.getHeight() / 2) - revealedViewLocation%5B1%5D);%0A%0A        int finalRadius = Math.max(revealedView.getWidth(), revealedView.getHeight());%0A%0A        Animator anim = ViewAnimationUtils.createCircularReveal(revealedView, cx, cy, 0, finalRadius);%0A%0A        anim.setDuration(DURATION);%0A%0A        return anim;%0A    %7D%0A%7D%0A

Create RevealAnimator.