Skip to content
Permalink
c49e60a976
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (35 sloc) 1.88 KB
<?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="Coursework1.Views.RegisterPage">
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Grid Margin="20, 0, 20, 0" VerticalOptions="CenterAndExpand">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackLayout Grid.Row="0">
<Entry Placeholder="Username" FontSize="16" x:Name ="EntryUsername"/>
</StackLayout>
<StackLayout Grid.Row="1">
<Entry Placeholder="Password" IsPassword="True" FontSize="16" x:Name ="EntryPassword"/>
</StackLayout>
<StackLayout Grid.Row="2">
<Entry Placeholder="Email" FontSize="16" x:Name ="EntryEmail"/>
</StackLayout>
<StackLayout Grid.Row="3">
<Button Text="Register" HorizontalOptions="CenterAndExpand" WidthRequest="100" TextColor="White" BackgroundColor="Purple" Clicked="Button_Clicked"/>
</StackLayout>
<StackLayout Grid.Row="4">
<Button Text="Already have an account? Login" HorizontalOptions="CenterAndExpand" WidthRequest="100" TextColor="White" BackgroundColor="Purple" Clicked="Button_Clicked_1"/>
</StackLayout>
</Grid>
</StackLayout>
</ScrollView>
</ContentPage.Content>
</ContentPage>