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.Animation;
import android.view.animation.AnimationUtils;

public class Main {
    private static void animSlideIn(View view, int resAnim) {
        Animation animation = AnimationUtils.loadAnimation(view.getContext(), resAnim);
        view.startAnimation(animation);
        view.setVisibility(View.VISIBLE);
    }
}