set View by float Rotation value - Android User Interface

Android examples for User Interface:View Rotate

Description

set View by float Rotation value

Demo Code


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

public class Main {
    public static void setRotation(View view, float rotation) {
        view.setRotation(rotation);//from w  w  w  . j a  v a  2 s.  c o m
    }
}

Related Tutorials