Android examples for User Interface:View Translate
translate View along Y axes with delay
//package com.java2s; import android.view.View; public class Main { public static void translateY(View view, int transY, int duration, int startDelay) { view.animate().translationY(transY).setDuration(duration) .setStartDelay(startDelay); }/*from w w w.ja v a2 s. c o m*/ }