A Alessandra Pellegri Active Member Licensed User Longtime User Aug 15, 2016 #1 I am trying to use InitializeRotateCenter to rotate a button when I rotate the phone, so that the button stays aligned with the floor. The problem is that after every rotation the button comes back to its original position. How could I solve this ? Thank you
I am trying to use InitializeRotateCenter to rotate a button when I rotate the phone, so that the button stays aligned with the floor. The problem is that after every rotation the button comes back to its original position. How could I solve this ? Thank you
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2016 #2 Use AnimationPlus instead of Animation library and set PersistAfter to true: https://www.b4x.com/android/forum/threads/lib-animationplus.21313/#content Upvote 0
Use AnimationPlus instead of Animation library and set PersistAfter to true: https://www.b4x.com/android/forum/threads/lib-animationplus.21313/#content
A Alessandra Pellegri Active Member Licensed User Longtime User Aug 16, 2016 #3 Ok, thank you Upvote 0