Last active
May 4, 2018 19:03
-
-
Save nickcabral/5dc85d8e48385752b96b5277924c2b55 to your computer and use it in GitHub Desktop.
stack layout inside of scrollview
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
<GridLayout rows="auto,*,auto"> | |
<!-- Header --> | |
<StackLayout height="15%" row="0" width="60%" orientation="horizontal" horizontalAlignment="center"> | |
<Image src="~/images/logo gezicht.png" stretch ="aspectFit"/> | |
</StackLayout> | |
<!-- Main --> | |
<ScrollView width="80%" row="1" orientation="vertical"> | |
<DockLayout style="background-color: #d3d3d3" stretchLastChild="true"> | |
<Label dock="top" text="Welcome, let us start with a few questions!" horizontalAlignment="center" class="pageLabel"/> | |
<StackLayout dock="top" width="85%" height="10" class="settingFieldHeader"></StackLayout> | |
<StackLayout class="settingField"> | |
<Label text="What is your name?" class="questionLabel" horizontalAlignment="center"/> | |
<TextField text="{{ name }}" hint="Your name."/> | |
</StackLayout> | |
</DockLayout> | |
</ScrollView> | |
<!-- Footer --> | |
<StackLayout row="2" orientation="horizontal" horizontalAlignment="center"> | |
<Button text="Next" class="nextButton" tap="saveButton"/> | |
</StackLayout> | |
</GridLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment