set View Scale X - Android User Interface

Android examples for User Interface:View Scale

Description

set View Scale X

Demo Code


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

public class Main {
    public static void setScaleX(View view, float fromScale) {
        view.setScaleX(fromScale);/*from ww w. j  ava  2s.  c  o m*/
    }
}

Related Tutorials