Skip to main content

requestedOrientation

// Property: requestedOrientation
// Description: Specifies a specific orientation for this activity.
// Component(s): Ti.Android.Activity
'.requested-orientation-screen-behind[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_BEHIND }
'.requested-orientation-screen-landscape[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_LANDSCAPE }
'.requested-orientation-screen-nosensor[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_NOSENSOR }
'.requested-orientation-screen-portrait[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_PORTRAIT }
'.requested-orientation-screen-sensor[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_SENSOR }
'.requested-orientation-screen-unspecified[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_UNSPECIFIED }
'.requested-orientation-screen-user[platform=android]': { requestedOrientation: Ti.Android.SCREEN_ORIENTATION_USER }