H HansDieter Member Licensed User Longtime User Apr 27, 2022 #1 A part of me app's user interface is drawn at run time. How can i determine whether the device is i portrait or landscape view?
A part of me app's user interface is drawn at run time. How can i determine whether the device is i portrait or landscape view?
Q Quandalle Member Licensed User Apr 27, 2022 #2 B4X: If GetDeviceLayoutValues.Width > GetDeviceLayoutValues.Height Then Orientation = "Landscape" Else Orientation = "Portrait" End If Upvote 0
B4X: If GetDeviceLayoutValues.Width > GetDeviceLayoutValues.Height Then Orientation = "Landscape" Else Orientation = "Portrait" End If