Create ObjectAnimator alpha Appear - Android android.animation

Android examples for android.animation:ObjectAnimator

Description

Create ObjectAnimator alpha Appear

Demo Code


//package com.java2s;

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

public class Main {
    public static ObjectAnimator alphaAppear(View v) {
        return ObjectAnimator.ofFloat(v, "alpha", 0, 1);
    }//from  ww w . j  a v a2s  .  co  m
}

Related Tutorials