'Sets the rotation angle around the X axis of the given view
'v = view
'Angle = rotation angle in degrees
Sub setRotationX(v As View, Angle As Float)
Dim jo = v As JavaObject
jo.RunMethod("setRotationX", Array As Object(Angle))
End Sub
Sub Activity_Create(FirstTime As Boolean)
.....
' Object, grade
setRotation(Button1, 180)
End Sub