-
-
Notifications
You must be signed in to change notification settings - Fork 193
/
MainPage.xaml
83 lines (79 loc) · 2.41 KB
/
MainPage.xaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?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:views="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="DynamicFab.MainPage">
<Grid Background="Gray">
<Label
Text="Welcome to .NET Multi-platform App UI"
FontSize="18"
HorizontalOptions="Center" />
<views:Expander HorizontalOptions="End"
VerticalOptions="End"
Margin="30"
Direction="Up">
<views:Expander.Header>
<ImageButton
BackgroundColor="Gray"
CornerRadius="20"
HorizontalOptions="End"
VerticalOptions="End">
<ImageButton.Source>
<FontImageSource
FontFamily="FASolid"
Glyph="+" />
</ImageButton.Source>
</ImageButton>
</views:Expander.Header>
<views:Expander.Content>
<VerticalStackLayout Spacing="20">
<ImageButton
Clicked="OnFolderClicked"
HorizontalOptions="End">
<ImageButton.Source>
<FontImageSource
FontFamily="FASolid"
Glyph="" />
</ImageButton.Source>
</ImageButton>
<views:Expander Direction="Up"
Margin="0,0,0,10">
<views:Expander.Header>
<ImageButton
HorizontalOptions="End"
VerticalOptions="Center">
<ImageButton.Source>
<FontImageSource
FontFamily="FASolid"
Glyph="" />
</ImageButton.Source>
</ImageButton>
</views:Expander.Header>
<views:Expander.Content>
<VerticalStackLayout Margin="0,0,0,10" Spacing="10">
<ImageButton
Clicked="OnWordClicked"
HorizontalOptions="End">
<ImageButton.Source>
<FontImageSource
FontFamily="FASolid"
Glyph="" />
</ImageButton.Source>
</ImageButton>
<ImageButton
Clicked="OnExcelClicked"
HorizontalOptions="End">
<ImageButton.Source>
<FontImageSource
FontFamily="FASolid"
Glyph="" />
</ImageButton.Source>
</ImageButton>
</VerticalStackLayout>
</views:Expander.Content>
</views:Expander>
</VerticalStackLayout>
</views:Expander.Content>
</views:Expander>
</Grid>
</ContentPage>