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?
UEngage/UEngage/Login.xaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
60 lines (41 sloc)
2.72 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="UEngage.Login"> | |
<ContentPage.Content> | |
<Grid> | |
<ScrollView> | |
<StackLayout VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" > | |
<Grid Grid.Row="0" RowDefinitions="50*, 20,50,50,20,150,50" Padding="20,0,20,0"> | |
<Image Source="uengage_logo.png" Grid.Row="0" HeightRequest="200" WidthRequest="{OnPlatform iOS=100, Android=100}" HorizontalOptions="Center"/> | |
<Label Grid.Row="1" Text="Welcome to UEngage" HorizontalOptions="Center" Padding="16"/> | |
<Entry Grid.Row="2" Placeholder="Username" x:Name="txtusername" Keyboard="Default" /> | |
<Entry Grid.Row="3" Placeholder="Password" x:Name="txtpassword" IsPassword="True" /> | |
<Label Grid.Row="4" HorizontalOptions="End" VerticalOptions="Start" Text="Forgot Password?" IsVisible="false" /> | |
<Grid Grid.Row="5" HeightRequest="150" RowDefinitions="50,50"> | |
<Button Text="Login" Grid.Row="0" | |
FontSize="Small" | |
HorizontalOptions="FillAndExpand" | |
BackgroundColor="#560A86" | |
TextColor="White" FontAttributes="Bold" | |
CornerRadius="8" x:Name="btnlogin" Clicked="btnlogin_Clicked"/> | |
<Button Text="SignUp" Grid.Row="1" | |
FontSize="Small" | |
HorizontalOptions="FillAndExpand" | |
BackgroundColor="#560A86" | |
TextColor="White" FontAttributes="Bold" | |
CornerRadius="8" x:Name="btnsignup" Clicked="btnsignup_Clicked"/> | |
</Grid> | |
</Grid> | |
<Label Grid.Row="6" Text="Created by Victor Olowofeso" TextColor="Gray" FontSize="Small" HorizontalOptions="Center" VerticalOptions="End" /> | |
</StackLayout> | |
</ScrollView> | |
<StackLayout IsVisible="False" x:Name="busyIndi" BackgroundColor="Black" Opacity="0.7" Orientation="Vertical"> | |
<StackLayout Orientation="Vertical" HorizontalOptions="Center" VerticalOptions="CenterAndExpand"> | |
<ActivityIndicator Color="#781241" IsRunning="true" /> | |
<Label x:Name="progressname" Text="Loading..." TextColor="Accent" VerticalOptions="Center" /> | |
</StackLayout> | |
</StackLayout> | |
</Grid> | |
</ContentPage.Content> | |
</ContentPage> |