<aspectRatio>

(Optional) Whether the application is in landscape or portrait mode

Parent elements:

<initialWindow>

Child elements:

None.

Description:

The <aspectRatio> specifies whether the application displays in landscape or portrait mode. If a value is not specified, the application uses the default orientation set by the OS.

Content:

A CDATA value representing the orientation of the application. You can use the following values:

  • landscape
  • portrait

Attributes:

None.

Example:

 <initialWindow>
     <aspectRatio>landscape</aspectRatio>
     <autoOrients>false</autoOrients>
     <systemChrome>none</systemChrome>
     <transparent>true</transparent>
 </initialWindow>               
                    
comments powered by Disqus