Skip to content

Instantly share code, notes, and snippets.

@pedrogk
Last active August 29, 2015 14:21
Show Gist options
  • Save pedrogk/8eb7c4f510cc0b768bb8 to your computer and use it in GitHub Desktop.
Save pedrogk/8eb7c4f510cc0b768bb8 to your computer and use it in GitHub Desktop.
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