hongbii Active Member Licensed User Longtime User Feb 28, 2018 #1 Hi all, May i know how to rotate the view by using the visual designer? I want to arrange the button in 45 degrees like a diamond shape. Like this: https://stackoverflow.com/questions/39639204/arranging-buttons-into-diamond-shape-in-android-xml Thank you.
Hi all, May i know how to rotate the view by using the visual designer? I want to arrange the button in 45 degrees like a diamond shape. Like this: https://stackoverflow.com/questions/39639204/arranging-buttons-into-diamond-shape-in-android-xml Thank you.
R ronell Well-Known Member Licensed User Longtime User Feb 28, 2018 #2 not in visual designer but possible with this lib https://www.b4x.com/android/forum/threads/lib-animationplus.21313/page-2#post-126666 Upvote 0
not in visual designer but possible with this lib https://www.b4x.com/android/forum/threads/lib-animationplus.21313/page-2#post-126666
derez Expert Licensed User Longtime User Feb 28, 2018 #3 https://www.b4x.com/android/forum/threads/rotate-a-view-degrees.75939/ Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2018 #4 The recommended way to rotate a view: B4X: Dim x As B4XView = YourView x.Rotation = 45 'or x.SetRotationAnimated(1000, 45) Upvote 0
The recommended way to rotate a view: B4X: Dim x As B4XView = YourView x.Rotation = 45 'or x.SetRotationAnimated(1000, 45)