perform Right To Left Swipe Animation - Android Animation

Android examples for Animation:Move Animation

Description

perform Right To Left Swipe Animation

Demo Code


//package com.java2s;
import android.content.Context;

import android.view.View;

import android.view.animation.AnimationUtils;

public class Main {
    public static void performRightToLeftSwipeAnim(View view,
            Context context) {/*from   w w w.  ja v  a  2 s. c  o m*/
        view.startAnimation(AnimationUtils.loadAnimation(context,
                0x7f04000b));
    }
}

Related Tutorials