Last active
October 30, 2016 15:53
-
-
Save ChrisFlannagan/3e74f87b5769b1f00f4f48f28faf3107 to your computer and use it in GitHub Desktop.
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
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="loaded" navigatingTo="onNavigatingTo" navigatingFrom="onNavigatingFrom" | |
horizontalAlignment="stretch" verticalAlignment="stretch"> | |
<StackLayout orientation="vertical" horizontalAlignment="stretch" verticalAlignment="stretch"> | |
<Label id="timerLabel" text="3:00" horizontalAlignment="center" verticalAlignment="center" /> | |
<GridLayout width="100%" columns="auto,auto" height="50"> | |
<Button text="Start Timer" horizontalAlignment="center" col="0" tap="starttimer" /> | |
<Button text="Stop Timer" horizontalAlignment="center" col="1" tap="stoptimer" /> | |
</GridLayout> | |
<StackLayout id="main-layout" orientation="vertical" horizontalAlignment="stretch" backgroundColor="#CCCCCC" verticalAlignment="stretch"> | |
</StackLayout> | |
</StackLayout> | |
</Page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There some
horizotnalAlignment
andveritcalAlignment
typos that need to be renamed tohorizontalAlignment
andverticalAlignment
respectively.Thanks for sharing!