MitchBu Well-Known Member Licensed User Longtime User Jul 30, 2020 #1 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
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
klaus Expert Licensed User Longtime User Jul 30, 2020 #2 The rotation pivot is the centre of the view. Upvote 0