Android Question Layout locked to portrait

Liew

Member
Licensed User
Longtime User
 

PaulMeuris

Well-Known Member
Licensed User
You probably know by now that it is not recommended to use more than one orientation.
The setting for the device could be:
B4X:
#Region  Project Attributes
    #ApplicationLabel: B4A Example
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
The "unspecified" setting allows you to use both orientations.
Look at the B4XPages events to determine where you should put your code to adjust the layout.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…