forked from VladislavAntonyuk/MauiSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml
More file actions
48 lines (40 loc) · 1.31 KB
/
Copy pathMainPage.xaml
File metadata and controls
48 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mauiAnimation="clr-namespace:MauiAnimation"
xmlns:controls="clr-namespace:MauiAnimation.Controls"
x:Class="MauiAnimation.MainPage"
Background="LightBlue">
<Grid Background="LightBlue">
<Grid VerticalOptions="End" TranslationX="100">
<Path Fill="Gray">
<Path.Data>
<RectangleGeometry Rect="0,0,5,600" />
</Path.Data>
</Path>
<controls:Flag WidthRequest="400" TranslationY="-50" HorizontalOptions="Start"/>
</Grid>
<Path
Aspect="Uniform"
HorizontalOptions="Start"
VerticalOptions="End"
Fill="Green"
Data="m 0 0 q 131 -110 224 -118 q 132 48 261 31 q 269 -129 423 -114 c 281 53 252 131 377 107 c 99 -21 221 22 279 94Z"/>
<controls:Sky
HorizontalOptions="End"
VerticalOptions="Start"/>
<Image
TranslationY="-10"
HorizontalOptions="Start"
Source="dotnet_bot.png"
VerticalOptions="End"
HeightRequest="200" />
<Image
TranslationY="-30"
RotationY="180"
Source="dotnet_bot.png"
VerticalOptions="End"
HeightRequest="200">
</Image>
</Grid>
</ContentPage>