Dictionary of options for the Titanium.UI.Window.open method.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Animation resource to run on the activity (heavyweight window) being opened.
Animation resource to run on the activity (heavyweight window) being opened.
This value will be ignored if animated
is set to false.
See "Heavyweight Window Transitions in Android" in the main description of Titanium.UI.Window
for more information.
var win2 = Ti.UI.createWindow({fullscreen:false});
win2.open({
activityEnterAnimation: Ti.Android.R.anim.slide_in_left,
activityExitAnimation: Ti.Android.R.anim.slide_out_right
});
Animation resource to run on the activity that is being put in background as a heavyweight window is being opened above it.
This value will be ignored if animated
is set to false.
See "Heavyweight Window Transitions in Android" in the main description of Titanium.UI.Window
for more information.
Determines whether to use an animated effect when the window is shown.
On Android, this property supports animated transitions on heavyweight windows
except for modal windows (modal:true
). See "Android Heavyweight and Lightweight
Windows" in the main description of Titanium.UI.Window for more information. The
transitions are on by default, but you can disable this behavior by setting this value
to false
.
On iOS, only use this property to disable animated transitions on modal windows. This property has unintended side effects on non-modal windows if it is defined.
Default: true
Window's bottom position, in platform-specific units.
On Android, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information.
Default: 0
Determines if the window is fullscreen.
Default: false
Window's height, in platform-specific units.
Window's height, in platform-specific units.
On Android, before Titanium 3.2.0, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information. On Windows Phone 8.1 and Windows 10 Mobile, this property does not take any effect. On Windows 10 Store App, resizing Window takes no effect in following cases according to Windows Runtime API document. The requested size is larger than the available work area. The requested size is less than the view's minimum size. The smallest allowed minimum size is 192 x 48 effective pixels. The largest allowed minimum size is 500 x 500 effective pixels.
Window's left position, in platform-specific units.
On Android, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information.
Default: 0
Determines whether to open the window modal in front of other windows.
Default: false
Presentation style of this modal window.
This API can be assigned the following constants:
Default: Titanium.UI.iOS.MODAL_PRESENTATION_FULLSCREEN
Transition style of this modal window.
This API can be assigned the following constants:
Default: Titanium.UI.iOS.MODAL_TRANSITION_STYLE_COVER_VERTICAL
Window's right position, in platform-specific units.
On Android, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information.
Default: 0
Window's top position, in platform-specific units.
On Android, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information.
Default: 0
Transition style of this non-modal window.
This API can be assigned the following constants:
Default: Titanium.UI.iOS.AnimationStyle.NONE
Window's width, in platform-specific units.
Window's width, in platform-specific units.
On Android, before Titanium 3.2.0, this property only works with lightweight windows. See "Android Heavyweight and Lightweight Windows" in the main description of Titanium.UI.Window for more information. On Windows Phone 8.1 and Windows 10 Mobile, this property does not take any effect. On Windows 10 Store App, resizing Window takes no effect in following cases according to Windows Runtime API document. The requested size is larger than the available work area. The requested size is less than the view's minimum size. The smallest allowed minimum size is 192 x 48 effective pixels. The largest allowed minimum size is 500 x 500 effective pixels. This method is called while in while the app is running in Tablet Mode.