set View X - Android User Interface

Android examples for User Interface:View Position

Description

set View X

Demo Code


//package com.java2s;
import android.view.View;

public class Main {
    public static void setX(View view, float x) {
        view.setX(x);/*from   w w w .  jav  a2  s.co m*/
    }
}

Related Tutorials