|
9 | 9 | <ContentPage.BindingContext> |
10 | 10 | <local:DataFormViewModel/> |
11 | 11 | </ContentPage.BindingContext> |
12 | | - <Border Background="{OnIdiom Default=Transparent, Desktop=#83E9EE}" > |
13 | | - <Grid ColumnDefinitions="0.5*, 0.5*" RowDefinitions="0.3*, 0.7*" > |
| 12 | + <Grid ColumnDefinitions="0.5*, 0.5*" RowDefinitions="0.3*, 0.7*" |
| 13 | + Background="{OnIdiom Default=Transparent, Desktop=#83E9EE}"> |
14 | 14 | <Border Grid.ColumnSpan="{OnIdiom Default=2, Desktop=1}" Stroke="Transparent" Background="{OnIdiom Phone=#83E9EE,Desktop=Transparent}" |
15 | 15 | Grid.RowSpan="{OnIdiom Default=1, Desktop=2}"> |
16 | 16 | <Border.StrokeShape> |
17 | 17 | <RoundRectangle CornerRadius="0,0,100,100"/> |
18 | 18 | </Border.StrokeShape> |
19 | | - <Image Source="login.png" Grid.Row="0" Grid.Column="0" HorizontalOptions="Center" Aspect="AspectFit" |
20 | | - /> |
| 19 | + <Image Source="login.png" Grid.Row="0" Grid.Column="0" HorizontalOptions="Center" Aspect="AspectFit"/> |
21 | 20 | </Border> |
| 21 | + |
22 | 22 | <Frame CornerRadius="10" Grid.Column="{OnIdiom Default=0, Desktop=1}" BorderColor="White" HeightRequest="420" Background="White" |
23 | 23 | Grid.Row="{OnIdiom Default=1, Desktop=0}" |
24 | 24 | WidthRequest="380" VerticalOptions="{OnIdiom Default=Start, Desktop=Center}" |
|
59 | 59 | <Label Text="Forgot password?" Grid.Column="1" TextColor="{StaticResource Primary}" HorizontalTextAlignment="Center" Padding="10,0,0,0" FontSize="12" VerticalOptions="Center" /> |
60 | 60 | </Grid> |
61 | 61 |
|
62 | | - <Button Text="LOGIN" x:Name="loginButton" HeightRequest="40" VerticalOptions="End" |
| 62 | + <Button Text="LOGIN" x:Name="loginButton" HeightRequest="40" VerticalOptions="End" |
63 | 63 | HorizontalOptions="Fill" Margin="20,0,20,0" CornerRadius="10" |
64 | 64 | Padding="0" FontAttributes="Bold" |
65 | 65 | Grid.Row="3" Background="{StaticResource Primary}"/> |
|
79 | 79 | </Grid> |
80 | 80 | </Frame> |
81 | 81 | </Grid> |
82 | | - </Border> |
83 | 82 | <ContentPage.Behaviors> |
84 | 83 | <local:LoginFormBehavior/> |
85 | 84 | </ContentPage.Behaviors> |
|
0 commit comments