Stops animation of the specified view. - Android User Interface

Android examples for User Interface:View Animation

Description

Stops animation of the specified view.

Demo Code


//package com.java2s;

import android.view.View;

public class Main {
    /**/*from   ww  w. j  av  a2  s.c  o  m*/
     * Stops animation of the specified view.
     * 
     * @param v
     *            the view
     */
    public static void stopAnimatingLoading(View v) {
        v.clearAnimation();
        v.setVisibility(View.GONE);
    }
}

Related Tutorials