Application Orientation

From RAD Studio
Jump to: navigation, search

Go Up to Application Options


Project > Options > Application > Orientation

Sets the orientation of your multi-device application on mobile platforms.

Orientation.png

Orientation on iOS Devices

Field Description
Enable custom orientation Check this checkbox so that you can limit or specify the orientations that your iOS app supports.
For example, to always display your iOS app in portrait orientation, check the Enable custom orientation and Portrait checkboxes.

iOS devices support rotation of the form in the following directions:

  • iPad: Rotates in all directions
  • iPhone and iPod Touch: Rotates in all directions except upside down

If Enable custom orientation is not checked, then the orientation of your app responds to the default rotations, according to the iOS device.

Portrait iOS app displays in a vertical (portrait) orientation.

Upside down

iOS app displays in a vertical orientation, but upside down, with the Home button on the top of the device instead of on the bottom.
Landscape home right iOS app displays in a horizontal (landscape) orientation with the Home button on the right of the device.
Landscape home left iOS app displays in a horizontal (landscape) orientation with the Home button on the left of the device.

Orientation on Android Devices

Field Description
Enable custom orientation

Enable this check box so that you can limit or specify the orientations that your Android app supports.
For example, to always display your Android app in portrait orientation, enable the Enable custom orientation and Portrait check boxes.

Android devices support rotation of the form in all directions.

Portrait Android app displays in a vertical (portrait) orientation.
Upside down Android app displays in a vertical orientation, but upside down, with the Home button on the top of the device instead of on the bottom.
Landscape home right Android app displays in a horizontal (landscape) orientation with the Home button on the right of the device.
Landscape home left Android app displays in a horizontal (landscape) orientation with the Home button on the left of the device.

Notes about Orientation for Android

  • If Enable custom orientation is not checked, or if it is checked and all four orientations are also checked, then your app uses the default rotations, according to the Android device.
  • If you check both Landscape home left and Landscape home right, your Android app uses only one of these, typically Landscape home right.
  • If you check both Portrait and Upside Down, your Android app uses only Portrait.

See Also