Android examples for android.animation:Animation
Form on Error Animation
//package com.java2s; import android.view.View; public class Main { public static void onError(final View view) { view.animate().alpha(0).withEndAction(new Runnable() { @Override//from www.j a v a 2s . c o m public void run() { view.animate().alpha(1); } }); } }