The tile container represents the container view controller in iOS terms.
You can specify multiple tile containers if the app contains different navigation patterns. However, mark only one tile as the root to make that tile container the app window’s root view controller. The framework considers only the first root tile.
<!— Single View Tile Container --> <Tile tileId="Root"> <P pid="isRoot" value="true" /> <!—Defines a ‘Settings’ button, which brings up modally the SettingsScreen --> <UIElement type=”button”> <P pid="text" value="$i_18n.Settings" visible="true" /> <P pid="halign" value="left" /> <P pid="width" value="49%" /> <P pid="height" value="25pt" /> <P pid="style" value="BlackButton" /> <!—See Managing Lists for more details on events and actions--> <Event id="onClick"> <Action id="navigate"> <P pid="target" value="SettingsScreen" /> </Action> </Event> </UIElement> </ TileContainer >
<!—Navigation Based Tile Container --> <TileContainer tileContainerId="Root" type="nav"> <P pid="isRoot" value="true" /> <P pid="isHeaderVisible" value="false" /> <!—Define the initial Tile – further tiles belonging to the navigation chain are referenced from the initial tile and so on --> <TileRef ref=”Overview” /> </ TileContainer >
<!—Split (Master-Detail) Tile Container --> <!—!!! It shall have two tiles: the Master and the Detail --> <TileContainer tileContainerId="Root" type="split"> <P pid="isRoot" value="true" /> <P pid="isHeaderVisible" value="false" /> <TileRef ref=”MasterTile” /> <TileRef ref=” DetailTile” /> </ TileContainer >
<!— Tabbed Tile Container --> <TileContainer tileContainerId="Root" type="tab"> <P pid="isRoot" value="true" /> <P pid="isHeaderVisible" value="false" /> <TileRef ref=”FirstTabTile” /> <TileRef ref=” SecondTabTile” /> <TileRef ref=” ThirdTabTile” /> </ TileContainer >