Created
February 17, 2014 15:21
Revisions
-
davidecassenti revised this gist
Feb 19, 2014 . 1 changed file with 21 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,23 @@ <Alloy> <TabGroup> <Tab title="Tab 1" icon="KS_nav_ui.png"> <SplitWindow id="splitWin" platform="ios" formFactor="tablet"> <NavigationWindow id="master_win"> <Window title="Master 1"> <Label onClick="openMaster">Master</Label> </Window> </NavigationWindow> <NavigationWindow id="detail_win"> <Window title="Detail 1"> <Label onClick="openDetail">Detail</Label> </Window> </NavigationWindow> </SplitWindow> </Tab> <Tab title="Tab 2" icon="KS_nav_views.png"> <Window title="Tab 2"> <Label>I am Window 2</Label> </Window> </Tab> </TabGroup> </Alloy> -
davidecassenti revised this gist
Feb 17, 2014 . 2 changed files with 10 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,16 @@ function openMaster() { var win = Ti.UI.createWindow({ title: "Master 2", backgroundColor: 'red' }); $.master_win.openWindow(win); } function openDetail() { var win = Ti.UI.createWindow({ title: "Detail 2", backgroundColor: 'green' }); $.detail_win.openWindow(win); } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,12 +3,12 @@ <Tab title="Tab 1" icon="KS_nav_ui.png"> <SplitWindow id="splitWin" platform="ios" formFactor="tablet"> <NavigationWindow id="master_win"> <Window title="Master 1"> <Label onClick="openMaster">Master</Label> </Window> </NavigationWindow> <NavigationWindow id="detail_win"> <Window title="Detail 1"> <Label onClick="openDetail">Detail</Label> </Window> </NavigationWindow> -
davidecassenti created this gist
Feb 17, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ function openMaster() { var win = Ti.UI.createWindow({backgroundColor: 'red'}); $.master_win.openWindow(win); } function openDetail() { var win = Ti.UI.createWindow({backgroundColor: 'green'}); $.detail_win.openWindow(win); } $.index.open(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ "Window": { backgroundColor:"white" }, "Label": { color: "#000" } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ <Alloy> <TabGroup> <Tab title="Tab 1" icon="KS_nav_ui.png"> <SplitWindow id="splitWin" platform="ios" formFactor="tablet"> <NavigationWindow id="master_win"> <Window> <Label onClick="openMaster">Master</Label> </Window> </NavigationWindow> <NavigationWindow id="detail_win"> <Window> <Label onClick="openDetail">Detail</Label> </Window> </NavigationWindow> </SplitWindow> </Tab> <Tab title="Tab 2" icon="KS_nav_views.png"> <Window title="Tab 2"> <Label>I am Window 2</Label> </Window> </Tab> </TabGroup> </Alloy>