parent
e77b8ed307
commit
386042ddcc
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 28 KiB |
@ -0,0 +1,82 @@
|
|||||||
|
<?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="ViewsApp.MainPage"
|
||||||
|
Title="Favoris"
|
||||||
|
BackgroundColor="White">
|
||||||
|
|
||||||
|
<ScrollView>
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
|
||||||
|
<Rectangle Grid.Row="0" Grid.Column="0"
|
||||||
|
BackgroundColor="#64C1FF"
|
||||||
|
WidthRequest="650"
|
||||||
|
HeightRequest="65"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="0"
|
||||||
|
Source="logo.png"
|
||||||
|
WidthRequest="60"
|
||||||
|
HeightRequest="60"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<SearchBar Grid.Row="0" Grid.Column="1"
|
||||||
|
WidthRequest="175"
|
||||||
|
MaximumWidthRequest="175"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Margin="40,5,0,0"
|
||||||
|
TextColor="White"
|
||||||
|
CancelButtonColor="White"
|
||||||
|
Placeholder="Rechercher ..."
|
||||||
|
PlaceholderColor="White"
|
||||||
|
VerticalTextAlignment="Center"
|
||||||
|
HorizontalTextAlignment="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="2"
|
||||||
|
Source="tri.png"
|
||||||
|
WidthRequest="60"
|
||||||
|
HeightRequest="60"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Margin="100,0,0,0"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="3"
|
||||||
|
Source="etoile.png"
|
||||||
|
WidthRequest="50"
|
||||||
|
HeightRequest="50"
|
||||||
|
Margin="0,5,0,0"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="End"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Rectangle Grid.Row="1" Grid.Column="0"
|
||||||
|
WidthRequest="75"
|
||||||
|
HeightRequest="75"
|
||||||
|
BackgroundColor="Blue"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace ViewsApp.Views;
|
||||||
|
|
||||||
|
public partial class Accueil : ContentPage
|
||||||
|
{
|
||||||
|
public Accueil()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,82 @@
|
|||||||
|
<?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="ViewsApp.MainPage"
|
||||||
|
Title="Favoris"
|
||||||
|
BackgroundColor="White">
|
||||||
|
|
||||||
|
<ScrollView>
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
|
||||||
|
<Rectangle Grid.Row="0" Grid.Column="0"
|
||||||
|
BackgroundColor="#64C1FF"
|
||||||
|
WidthRequest="650"
|
||||||
|
HeightRequest="65"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="0"
|
||||||
|
Source="logo.png"
|
||||||
|
WidthRequest="60"
|
||||||
|
HeightRequest="60"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<SearchBar Grid.Row="0" Grid.Column="1"
|
||||||
|
WidthRequest="175"
|
||||||
|
MaximumWidthRequest="175"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Margin="40,5,0,0"
|
||||||
|
TextColor="White"
|
||||||
|
CancelButtonColor="White"
|
||||||
|
Placeholder="Rechercher ..."
|
||||||
|
PlaceholderColor="White"
|
||||||
|
VerticalTextAlignment="Center"
|
||||||
|
HorizontalTextAlignment="Start"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="2"
|
||||||
|
Source="tri.png"
|
||||||
|
WidthRequest="60"
|
||||||
|
HeightRequest="60"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Margin="100,0,0,0"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Image Grid.Row="0" Grid.Column="3"
|
||||||
|
Source="etoile.png"
|
||||||
|
WidthRequest="50"
|
||||||
|
HeightRequest="50"
|
||||||
|
Margin="0,5,0,0"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="End"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Rectangle Grid.Row="1" Grid.Column="0"
|
||||||
|
WidthRequest="75"
|
||||||
|
HeightRequest="75"
|
||||||
|
BackgroundColor="Blue"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace ViewsApp.Views;
|
||||||
|
|
||||||
|
public partial class Favoris : ContentPage
|
||||||
|
{
|
||||||
|
public Favoris()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -1,14 +0,0 @@
|
|||||||
<?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="ViewsApp.Views.NewPage1"
|
|
||||||
Title="NewPage1">
|
|
||||||
<FlexLayout Direction="Column"
|
|
||||||
AlignItems="Center"
|
|
||||||
JustifyContent="SpaceEvenly">
|
|
||||||
<Rectangle
|
|
||||||
WidthRequest="50"
|
|
||||||
HeightRequest="50"
|
|
||||||
BackgroundColor="Blue"/>
|
|
||||||
</FlexLayout>
|
|
||||||
</ContentPage>
|
|
@ -1,9 +0,0 @@
|
|||||||
namespace ViewsApp.Views;
|
|
||||||
|
|
||||||
public partial class NewPage1 : ContentPage
|
|
||||||
{
|
|
||||||
public NewPage1()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<?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="ViewsApp.Views.Partition"
|
||||||
|
Title="Partition">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label
|
||||||
|
Text="Welcome to .NET MAUI!"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace ViewsApp.Views;
|
||||||
|
|
||||||
|
public partial class Partition : ContentPage
|
||||||
|
{
|
||||||
|
public Partition()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue