Create alpha Disappear ObjectAnimator - Android android.animation

Android examples for android.animation:ObjectAnimator

Description

Create alpha Disappear ObjectAnimator

Demo Code


//package com.java2s;

import android.animation.ObjectAnimator;
import android.view.View;

public class Main {
    public static ObjectAnimator alphaDisappear(View v) {
        return ObjectAnimator.ofFloat(v, "alpha", 1, 0);
    }/*ww  w . j  av  a2s  . c  o m*/
}

Related Tutorials