Created
July 8, 2015 10:16
-
-
Save kphillpotts/ccff3d994930128fd663 to your computer and use it in GitHub Desktop.
Login Page With StackLayout
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="LoginPage.MitchPage" | |
BackgroundImage="BackgroundImage"> | |
<StackLayout VerticalOptions="EndAndExpand" Padding="30"> | |
<Entry StyleId="Email" Text="{Binding Path=Email}" Placeholder="Email" BackgroundColor="#00BFFF" TextColor="Black" /> | |
<Entry StyleId="Password" Text="{Binding Path=Password}" Placeholder="Password" IsPassword="True" BackgroundColor="#00BFFF" TextColor="Black"/> | |
<Grid HorizontalOptions="Center" Padding="0, 10, 0, 10"> | |
<Label Text="Remember Me" TextColor="Black" Grid.Row="0" Grid.Column="0" /> | |
<Switch IsToggled="True" Grid.Row="0" Grid.Column="1" /> | |
</Grid> | |
<Button x:Name="loginButton" Text="Login" BackgroundColor="#0072bc" TextColor="White" /> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment