undo Slide Left Right for View - Android User Interface

Android examples for User Interface:View Slide

Description

undo Slide Left Right for View

Demo Code


//package com.java2s;

import android.view.View;

public class Main {
    public static void undoSlideLeftRight(View view) {
        view.setTranslationX(0f);//  www . j av  a  2  s .  co  m
    }
}

Related Tutorials