B b4AMarkO Member Licensed User Longtime User Apr 23, 2013 #1 I've looked but haven't found it yet so thought I would ask.... The app I am working on I do not want it to change if the user moves the phone to horizontal position I want it to just stay in the vertical if that makes sense But how?
I've looked but haven't found it yet so thought I would ask.... The app I am working on I do not want it to change if the user moves the phone to horizontal position I want it to just stay in the vertical if that makes sense But how?
yttrium Active Member Licensed User Longtime User Apr 23, 2013 #2 b4AMarkO said: I've looked but haven't found it yet so thought I would ask.... The app I am working on I do not want it to change if the user moves the phone to horizontal position I want it to just stay in the vertical if that makes sense But how? Click to expand... Layouts by default only support one orientation. This may be set in the Project Attributes, at the header of the Main class: B4X: #Region Project Attributes #ApplicationLabel: MyApp #VersionCode: 1 #VersionName: 1.0 #SupportedOrientations: portrait #CanInstallToExternalStorage: True #End Region Upvote 0
b4AMarkO said: I've looked but haven't found it yet so thought I would ask.... The app I am working on I do not want it to change if the user moves the phone to horizontal position I want it to just stay in the vertical if that makes sense But how? Click to expand... Layouts by default only support one orientation. This may be set in the Project Attributes, at the header of the Main class: B4X: #Region Project Attributes #ApplicationLabel: MyApp #VersionCode: 1 #VersionName: 1.0 #SupportedOrientations: portrait #CanInstallToExternalStorage: True #End Region
NJDude Expert Licensed User Longtime User Apr 23, 2013 #3 On your project, top of the source code you will find a "Project attributes" region, open it and change this line: From: B4X: #SupportedOrientations: unspecified To: B4X: #SupportedOrientations: portrait Read more HERE Upvote 0
On your project, top of the source code you will find a "Project attributes" region, open it and change this line: From: B4X: #SupportedOrientations: unspecified To: B4X: #SupportedOrientations: portrait Read more HERE
B b4AMarkO Member Licensed User Longtime User Apr 23, 2013 #4 NJDude said: On your project, top of the source code you will find a "Project attributes" region, open it and change this line: From: B4X: #SupportedOrientations: unspecified To: B4X: #SupportedOrientations: portrait Read more HERE Click to expand... Thank you guys this is what I needed ... works great Upvote 0
NJDude said: On your project, top of the source code you will find a "Project attributes" region, open it and change this line: From: B4X: #SupportedOrientations: unspecified To: B4X: #SupportedOrientations: portrait Read more HERE Click to expand... Thank you guys this is what I needed ... works great