netsistemas Active Member Licensed User Longtime User Sep 30, 2015 #1 #SupportedOrientations is defined for all proyect, but... How do no ratation a activity/layout?
aidymp Well-Known Member Licensed User Longtime User Sep 30, 2015 #2 netsistemas said: #SupportedOrientations is defined for all proyect, but... How do no ratation a activity/layout? Click to expand... If i understand you right, to NOT allow rotation just put B4X: #SupportedOrientations: Landscape and it wll stay in landscape mode! Upvote 0
netsistemas said: #SupportedOrientations is defined for all proyect, but... How do no ratation a activity/layout? Click to expand... If i understand you right, to NOT allow rotation just put B4X: #SupportedOrientations: Landscape and it wll stay in landscape mode!
klaus Expert Licensed User Longtime User Sep 30, 2015 #3 Look at SetScreenOrientation in the Phone library. Upvote 0
netsistemas Active Member Licensed User Longtime User Sep 30, 2015 #4 Thanks. Perfect In Activity_create Dim P As Phone p.SetScreenOrientation(0) Orientation - -1 for unspecified, 0 for landscape and 1 for portrait. Upvote 0
Thanks. Perfect In Activity_create Dim P As Phone p.SetScreenOrientation(0) Orientation - -1 for unspecified, 0 for landscape and 1 for portrait.