Android Question Rotate a view, relative to ?

MitchBu

Active Member
Licensed User
I am trying to apply this method advised by Erel, to rotate a view:

B4X:
Dim x As B4XView = YourView
x.Rotation = 45
'or
x.SetRotationAnimated(1000, 45)
To understand what was the center of the rotation, I checked the view Left and Top before and after the rotation, but they are unchanged.

What is the rotation relative to ?

TIA
 
Top