Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.7 kB
34
Indexable
 <Grid RowDefinitions="*,*,Auto,*">
     <VerticalStackLayout HorizontalOptions="Center" VerticalOptions="End">
         <Label
             FontSize="30"
             HorizontalOptions="Center"
             Text="Sign In" />
         <Label
             FontSize="15"
             HorizontalOptions="Center"
             Text="Welcome" />
     </VerticalStackLayout>

     <Frame
         Grid.Row="1"
         Margin="30"
         Padding="60"
         BackgroundColor="DarkCyan"
         CornerRadius="30"
         VerticalOptions="Center">
         <VerticalStackLayout Spacing="20">
             <Entry
                 x:Name="entryEmail"
                 Placeholder="Email"
                 PlaceholderColor="Wheat" />

             <Entry
                 x:Name="entryPassword"
                 Placeholder="Password"
                 PlaceholderColor="Wheat" />
             <Button Text="Sign In" />
         </VerticalStackLayout>
     </Frame>

     <HorizontalStackLayout Grid.Row="2" HorizontalOptions="Center">
         <Line
             BackgroundColor="Gray"
             HeightRequest="1"
             WidthRequest="100" />
         <Label
             Margin="10"
             Text="Or"
             VerticalOptions="Center" />
         <Line
             BackgroundColor="Gray"
             HeightRequest="1"
             WidthRequest="100" />
     </HorizontalStackLayout>

     <VerticalStackLayout
         Grid.Row="3"
         Margin="50"
         VerticalOptions="Start">
         <Button
             BackgroundColor="DarkCyan"
             Text="Register"
             TextColor="White" />
     </VerticalStackLayout>
 </Grid>