undo Slide Up Down for View - Android User Interface

Android examples for User Interface:View Slide

Description

undo Slide Up Down for View

Demo Code


//package com.java2s;

import android.view.View;

public class Main {
    public static void undoSlideUpDown(View view) {
        view.setTranslationY(0f);//from  w  w w .j  a va 2s. c  o  m
    }
}

Related Tutorials