Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.view.View;
import android.view.animation.OvershootInterpolator;

public class Main {
    public static void onCompare(View v) {
        v.setScaleX(0f);
        v.setScaleY(0f);
        v.animate().setInterpolator(new OvershootInterpolator()).scaleX(1).scaleY(1).setDuration(150);
    }
}