-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathindex.xml
More file actions
31 lines (22 loc) · 829 Bytes
/
index.xml
File metadata and controls
31 lines (22 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Alloy>
<!-- iPhone: Use Ti.UI.NavigationWindow -->
<NavigationWindow platform="ios" formFactor="handheld" id="navWin">
<Require src="master" onSelect="onSelect" />
</NavigationWindow>
<!-- iPad: Use Ti.UI.iOS.SplitWindow -->
<SplitWindow platform="ios" formFactor="tablet" id="splitWin" showMasterInPortrait="true">
<!-- first child is used as masterView -->
<NavigationWindow>
<Require src="master" onSelect="onSelect" />
</NavigationWindow>
<!-- second child is used as detailView -->
<NavigationWindow id="navWin">
<!-- initial empty window -->
<Window>
<Label>Select an article.</Label>
</Window>
</NavigationWindow>
</SplitWindow>
<!-- Android: Use master as root window -->
<Require platform="android,windows" src="master" onSelect="onSelect" id="masterCtrl" />
</Alloy>