Java tutorial
//package com.java2s; import android.view.View; import android.view.animation.DecelerateInterpolator; public class Main { public static void translationYBy(View view, int distance, int duration, int startDelay) { view.animate().translationYBy(distance).setDuration(duration).setStartDelay(startDelay) .setInterpolator(new DecelerateInterpolator()); } }