Skip to end of metadata
Go to start of metadata

Demonstrates how to use a SplitWindow control, an iPad-only control for managing the presentation of two views in a master-detail UI.

Example App Source Location

Icon

You can find this example app in the Alloy repository under samples/apps/ui/splitwindow. Check the instructions how to run these sample projects.

The <SplitWindow/> element expects two <Window/> elements as children. The first declared <Window/> is the "master" view and the second is the "detail" view. If a <Require> element is used to insert a Window, as in the sample, the required XML view must contain only one top-level element under the <Alloy> tag and that element must be a Ti.UI.Window object.

views/index.xml

The "master" view consists of <TabGroup/> element with two <Tab/> child elements.

views/master.xml

See also

 

  • No labels