If I set a view's PivotX and PivotY values with a JavaObject prior to invoking B4XView.SetRoation, it still rotates around the center of the view:
If I use the same JavaObject and call the "setRotation" method directly, the rotation is performed as expected on the requested pivot point (without the animation, of course).
Is there a method to make the SetRotationAnimated utilize a specific pivot point that I missed?
B4X:
Dim poB4V As B4XView = lblRotate
Dim j As JavaObject = lblRotate
Dim X As Float = lblRotate.Width ' make the pivot point the lower right-hand corner
Dim y As Float = lblRotate.Height
j.RunMethod("setPivotX", Array As Object(X))
j.RunMethod("setPivotY", Array As Object(Y))
poB4V.SetRotationAnimated(200, 0)
Is there a method to make the SetRotationAnimated utilize a specific pivot point that I missed?