<aspectRatio>

(Optional) Whether the application is in landscape or portrait orientation.

Parent elements:

<initialWindow>

Child elements:

None.

Description:

The <aspectRatio> specifies whether the application displays in landscape or portrait orientation. 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>
 </initialWindow>               
                    

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus