You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MapManga/MangaMap/MainPage.xaml

89 lines
2.8 KiB

<?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"
x:Class="MangaMap.MainPage">
<ScrollView
BackgroundColor="Black">
<VerticalStackLayout
Spacing="70"
VerticalOptions="Center">
<SearchBar Placeholder="Recherche"
CancelButtonColor="Orange"
TextColor="Purple"
HorizontalTextAlignment="Center"
Margin="30"
/>
<HorizontalStackLayout
Spacing="100"
HorizontalOptions="Center">
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Red"
/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Orange"/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Blue"/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Purple"/>
</HorizontalStackLayout>
<HorizontalStackLayout
Spacing="100"
HorizontalOptions="Center">
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Purple"
/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Green"/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Gray"/>
<Rectangle
WidthRequest="150"
HeightRequest="150"
Fill="Yellow"/>
</HorizontalStackLayout>
<Label
Text="Welcome to .NET Multi-platform App UI"
SemanticProperties.HeadingLevel="Level2"
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
FontSize="18"
HorizontalOptions="Center" />
<Button
x:Name="CounterBtn"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Center" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>