Mise à jour de 'XMLFile1.xml'
continuous-integration/drone/push Build is passing Details

master
Leon ENAULT 2 years ago
parent 70dcf72b23
commit aa87b1b4e7

@ -1,38 +1,40 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiApp1.NewContent1"> x:Class="MauiApp1.NewPage1"
<VerticalStackLayout> Title="NewPage1">
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Grid Background="LightBlue">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<!-- Ligne pour le titre -->
<RowDefinition Height="*"/>
<!-- Ligne pour le contenu défilable -->
</Grid.RowDefinitions>
<!-- Titre --> <Grid Background="Bisque">
<Label Text="Ma Page" FontSize="20" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/> <Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<!-- Ligne pour le titre -->
<RowDefinition Height="*"/>
<!-- Ligne pour le contenu défilable -->
</Grid.RowDefinitions>
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
<!-- Contenu défilable --> <!-- Titre -->
<ScrollView Grid.Row="1"> <Label Text="Home" FontSize="20" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/>
<StackLayout Orientation="Horizontal">
<StackLayout> <!-- Contenu défilable -->
<ImageButton Source="image1.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/> <ScrollView Grid.Row="1">
<ImageButton Source="image2.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/> <StackLayout Orientation="Horizontal">
<ImageButton Source="image3.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/> <StackLayout>
</StackLayout> <Image Source="oip.jpg" WidthRequest="100" HeightRequest="100"/>
<StackLayout> <Image Source="ppp.jpg" WidthRequest="100" HeightRequest="100"/>
<Label Text="Description de l'image 1" FontSize="16"/> <Image Source="tele.jpg" WidthRequest="100" HeightRequest="100"/>
<Label Text="Description de l'image 2" FontSize="16"/> </StackLayout>
<Label Text="Description de l'image 3" FontSize="16"/> <StackLayout>
<Label Text="Description de l'image 1" FontSize="16"/>
<Label Text="Description de l'image 2" FontSize="16"/>
<Label Text="Description de l'image 3" FontSize="16"/>
</StackLayout>
</StackLayout> </StackLayout>
</StackLayout> </ScrollView>
</ScrollView> </VerticalStackLayout>
</Grid> </Grid>
</VerticalStackLayout> </ContentPage>
</ContentView>
Loading…
Cancel
Save