Skip to content

Instantly share code, notes, and snippets.

@hieumoscow
Last active October 23, 2017 13:03
Show Gist options
  • Save hieumoscow/7aa8ed4b1b4f3692159fb4aa22ce791a to your computer and use it in GitHub Desktop.
Save hieumoscow/7aa8ed4b1b4f3692159fb4aa22ce791a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Xexpo.LoginPage"
>
<Grid>
<Image Source="rainBus.jpg" Aspect="AspectFill"/>
<ScrollView>
<Grid Padding="20, 30, 20, 20" RowSpacing="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="20" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Label Text="Flaty's" FontSize="60" HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="0" TextColor="White">
</Label>
<Grid Grid.Row="2" HorizontalOptions="Fill" Padding="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Source="iconUsername.png" HeightRequest="30" VerticalOptions="Center" Grid.Row="0" Grid.Column="0"/>
<Entry Placeholder="Username" BackgroundColor="Transparent" HorizontalOptions="Fill" TextColor="White" Grid.Row="0" Grid.Column="1"/>
</Grid>
<BoxView HeightRequest="1" Grid.Row="2" HorizontalOptions="Fill" BackgroundColor="White" VerticalOptions="End"/>
<Grid Grid.Row="3" HorizontalOptions="Fill" Padding="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Source="iconEmail.png" HeightRequest="30" VerticalOptions="Center" Grid.Row="0" Grid.Column="0"/>
<Entry Placeholder="Email Address" BackgroundColor="Transparent" HorizontalOptions="Fill" TextColor="White" Grid.Row="0" Grid.Column="1"/>
</Grid>
<BoxView HeightRequest="1" Grid.Row="3" HorizontalOptions="Fill" BackgroundColor="White" VerticalOptions="End"/>
<Grid Grid.Row="4" HorizontalOptions="Fill" Padding="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Source="iconPassword.png" HeightRequest="30" VerticalOptions="Center" />
<Entry Placeholder="Password" BackgroundColor="Transparent" HorizontalOptions="Fill" TextColor="White" Grid.Row="0" Grid.Column="1"/>
</Grid>
<BoxView HeightRequest="1" Grid.Row="4" HorizontalOptions="Fill" BackgroundColor="White" VerticalOptions="End"/>
<StackLayout Grid.Row="5" Spacing="12" HorizontalOptions="Fill" Padding="0,25,0,0">
<Button Text="Sign Up" BackgroundColor="#1FBED6" HorizontalOptions="Fill" TextColor="White" HeightRequest="40"/>
<Image Source="fblogin.png" HorizontalOptions="Fill" HeightRequest="40"/>
<StackLayout Spacing="5">
<Label Text="Or click here to sign up using your email address" HorizontalOptions="Center" TextColor="White" FontSize="12"/>
<BoxView HeightRequest="1" HorizontalOptions="Fill" BackgroundColor="White" VerticalOptions="End"/>
</StackLayout >
</StackLayout>
</Grid>
</ScrollView>
</Grid>
</ContentView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment