Java tutorial
//package com.java2s; import android.animation.ObjectAnimator; import android.view.View; public class Main { public static void backgroundToWhite(View view) { ObjectAnimator animator = ObjectAnimator.ofInt(view, "backgroundColor", 0xffbdbdbd, 0xffffffff); animator.setDuration(1); animator.start(); } }