Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.view.View;

import android.view.animation.AccelerateDecelerateInterpolator;

public class Main {
    public final static int ANIMATION_DURATION = 300;

    public static void fadeOut(View v) {
        v.animate().setInterpolator(new AccelerateDecelerateInterpolator()).setDuration(ANIMATION_DURATION).alpha(0)
                .start();
    }
}