Last active
August 29, 2015 14:21
-
-
Save pedrogk/8eb7c4f510cc0b768bb8 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
var loginPage = new ContentPage { | |
Title = "Profile", | |
Icon = "Profile.png", | |
Content = new StackLayout { | |
Spacing = 20, Padding = 50, VerticalOptions = LayoutOptions.Center, | |
Children = { | |
new Entry { Placeholder = "Username" }, | |
new Entry { Placeholder = "Password", IsPassword = true }, | |
new Button { | |
Text = "Login", | |
TextColor = Color.White, | |
BackgroundColor = Color.FromHex("77D065") | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment