<?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="EmployeeDirectoryUI.Xaml.LoginXaml"
    BackgroundImage="login_box">
   <ContentPage.Content>
			<OnPlatform x:TypeArguments="View">

				<OnPlatform.iOS>
					<StackLayout VerticalOptions="StartAndExpand" Padding="30">
			        	<Image Source="logo" />
			        	<Entry StyleId="UserId" Text="{Binding Path=Username}" Placeholder="Username" />
			        	<Entry StyleId="PasswordId" Text="{Binding Path=Password}" Placeholder="Password" IsPassword="true" />
			        	<Grid HorizontalOptions="Center">
			        		<Button x:Name="loginButtoniOS" Text="Login" Grid.Row="0" Grid.Column="0"/>
			        		<Button x:Name="helpButtoniOS" Text="Help" Grid.Row="0" Grid.Column="1" />
			        	</Grid>
		        	</StackLayout>
				</OnPlatform.iOS>

				<OnPlatform.Android>
		        	<StackLayout VerticalOptions="Center" Padding="30">
		        		<Grid HorizontalOptions="Center">
			        		<Image Source="logo" Grid.Row="0" Grid.Column="0" />
			        		<Button x:Name="helpButtonAndroid" Text="Help" Grid.Row="0" Grid.Column="1" />
			        	</Grid>
			        	<Entry StyleId="UserId" Text="{Binding Path=Username}" Placeholder="Username" />
			        	<Entry StyleId="PasswordId" Text="{Binding Path=Password}" Placeholder="Password" IsPassword="true" />
			        	<Button x:Name="loginButtonAndroid" Text="Login" />
		        	</StackLayout>
				</OnPlatform.Android>

				<OnPlatform.WinPhone>
					  <StackLayout VerticalOptions="Center" Padding="30">
                <Grid HorizontalOptions="Center">
			        		<Image Source="logo.png" Grid.Row="0" Grid.Column="0" />
			        		<Button x:Name="helpButtonWinPhone" Text="Help" Grid.Row="0" Grid.Column="1" />
			        	</Grid>
			        	<Entry StyleId="UserId" Text="{Binding Path=Username}" Placeholder="Username" />
			        	<Entry StyleId="PassId" Text="{Binding Path=Password}" Placeholder="Password" IsPassword="true" />
			        	<Button x:Name="loginButtonWinPhone" Text="Login" />
		       </StackLayout>
				</OnPlatform.WinPhone>
			</OnPlatform>
    </ContentPage.Content>
</ContentPage>		