serg992313 Member Jul 12, 2024 #1 Hello everyone! I'm using the camera example from Camera2 - Still images and videos Everything is working well, but I'm looking for a method to change the button orientation when the camera rotates. My project can be used only in portrait mode. Please advise if anyone has any suggestions.
Hello everyone! I'm using the camera example from Camera2 - Still images and videos Everything is working well, but I'm looking for a method to change the button orientation when the camera rotates. My project can be used only in portrait mode. Please advise if anyone has any suggestions.
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2024 #2 Moved to the questions forum. 1. You will need to monitor the orientation sensor. See this thread: https://www.b4x.com/android/forum/threads/detect-screen-rotation-with-portrait-orientation.106872/ 2. You can then rotate the views with B4XView.Rotate property. Upvote 0
Moved to the questions forum. 1. You will need to monitor the orientation sensor. See this thread: https://www.b4x.com/android/forum/threads/detect-screen-rotation-with-portrait-orientation.106872/ 2. You can then rotate the views with B4XView.Rotate property.