Created
February 20, 2013 00:46
-
-
Save tonylukasavage/4991696 to your computer and use it in GitHub Desktop.
Alloy - SplitWindow with navgroups in master and detail
This file contains 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 characters
"Window": { | |
backgroundColor: '#fff' | |
} | |
"Label": { | |
color: '#000', | |
font: { | |
fontSize: 32, | |
fontWeight: 'bold' | |
} | |
} |
This file contains 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 characters
<Alloy> | |
<Window> | |
<NavigationGroup> | |
<Window title="detail"> | |
<LeftNavButton> | |
<Button>left</Button> | |
</LeftNavButton> | |
<RightNavButton> | |
<Button>right</Button> | |
</RightNavButton> | |
<Label>detail</Label> | |
</Window> | |
</NavigationGroup> | |
</Window> | |
</Alloy> |
This file contains 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 characters
$.index.open(); |
This file contains 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 characters
<Alloy> | |
<SplitWindow id="index" formFactor="tablet" platform="ios"> | |
<Require src="master"/> | |
<Require src="detail"/> | |
</SplitWindow> | |
</Alloy> |
This file contains 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 characters
<Alloy> | |
<Window> | |
<NavigationGroup> | |
<Window title="master"> | |
<LeftNavButton> | |
<Button>left</Button> | |
</LeftNavButton> | |
<RightNavButton> | |
<Button>right</Button> | |
</RightNavButton> | |
<Label>master</Label> | |
</Window> | |
</NavigationGroup> | |
</Window> | |
</Alloy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment