Today I saw Erel's post about rotating a view:
B4X:
Sub RotateView(v As View, Degrees As Float)
Dim jo As JavaObject = v
jo.RunMethod("setRotation", Array(Degrees))
End Sub