Created
August 13, 2012 19:05
-
-
Save tonylukasavage/3343303 to your computer and use it in GitHub Desktop.
Alloy <Include>
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 characters
<Alloy> | |
<Window> | |
<Button/> | |
<Include src="viewInclude"/> | |
</Window> | |
</Alloy> |
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 characters
<Alloy> | |
<View> | |
<Label/> | |
<Button/> | |
<Label> | |
<ImageView/> | |
</View> | |
</Alloy> |
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 characters
<!-- | |
Notes: | |
- IDs must be managed by developer. Conflicts are possible. We can show warnings/errors if need be. | |
- This all happens at compile time. | |
- Nested <Include> tags are handled appropriately. | |
--> | |
<Alloy> | |
<Window> | |
<Button/> | |
<View> | |
<Label/> | |
<Button/> | |
<Label> | |
<ImageView/> | |
</View> | |
</Window> | |
</Alloy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment