Permalink
Cannot retrieve contributors at this time
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?
Coursework1/Coursework1/Coursework1/Views/RegisterPage.xaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (35 sloc)
1.88 KB
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="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> |