<?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="Packet_Sender_Mobile.AccountCloud">

    <ContentPage.Padding>
        <OnPlatform x:TypeArguments="Thickness">
            <OnPlatform.Platforms>
                <On Platform="iOS" Value="15, 40, 15, 0" />
                <On Platform="Android" Value="0, 0, 0, 0" />
            </OnPlatform.Platforms>
        </OnPlatform>
    </ContentPage.Padding>
    
    <ContentPage.Content>
        <StackLayout>

            <StackLayout VerticalOptions="StartAndExpand">
                <Label Text="Username" />
                <Entry x:Name="usernameEntry" Placeholder="username">
                 <Entry.HeightRequest>
                        <OnPlatform x:TypeArguments="x:Double">
                                      <On Platform="iOS">50</On>
                                      <On Platform="Android,Windows">50</On>
                         </OnPlatform>
                 </Entry.HeightRequest>
                </Entry>
                <Label Text="Password" />
                <Entry x:Name="passwordEntry" IsPassword="true">
                 <Entry.HeightRequest>
                        <OnPlatform x:TypeArguments="x:Double">
                                      <On Platform="iOS">50</On>
                                      <On Platform="Android,Windows">50</On>
                         </OnPlatform>
                 </Entry.HeightRequest>
                </Entry>                    
                <Label x:Name="confirmLabel" Text="Confirm Password" />
                <Entry x:Name="passwordEntryConfirm" IsPassword="true">
                 <Entry.HeightRequest>
                        <OnPlatform x:TypeArguments="x:Double">
                                      <On Platform="iOS">50</On>
                                      <On Platform="Android,Windows">50</On>
                         </OnPlatform>
                 </Entry.HeightRequest>
                </Entry>                    
                <Button Text="Login" x:Name="LoginButton" Clicked="LoginButton_ClickedAsync"/>
                <Label x:Name="messageLabel" />
                <Button x:Name="createAccountButton" Text="Create Account" Clicked="createAccountButton_Clicked" />
                <Label x:Name="cancelLabel" />
                <Button x:Name="cancelButton" Text="Cancel" Clicked="cancelButton_Clicked"/>
            </StackLayout>
            
        </StackLayout>
    </ContentPage.Content>
</ContentPage>