Nouveau header collection view
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
a80e43f9f9
commit
d5d25d0453
@ -1,55 +1,55 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage 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="Ohara.PageFavoris"
|
x:Class="Ohara.PageFavoris"
|
||||||
Title="PageFavoris"
|
Title="PageFavoris"
|
||||||
BackgroundColor="#e2edf1">
|
BackgroundColor="#e2edf1">
|
||||||
|
|
||||||
<CollectionView x:Name="listeFavs" SelectionMode="Single" SelectionChanged="listeFavs_SelectionChanged">
|
<CollectionView x:Name="listeFavs" SelectionMode="Single" SelectionChanged="listeFavs_SelectionChanged">
|
||||||
<CollectionView.ItemsLayout>
|
<CollectionView.ItemsLayout>
|
||||||
<GridItemsLayout Orientation="Vertical" Span="4" HorizontalItemSpacing="15" VerticalItemSpacing="15"/>
|
<GridItemsLayout Orientation="Vertical" Span="4" HorizontalItemSpacing="15" VerticalItemSpacing="15"/>
|
||||||
</CollectionView.ItemsLayout>
|
</CollectionView.ItemsLayout>
|
||||||
<CollectionView.Header>
|
<CollectionView.Header>
|
||||||
<HorizontalStackLayout BackgroundColor="#72a3b3" Padding="10" Spacing="80">
|
<Grid ColumnDefinitions="200,*,100,10,100" BackgroundColor="#72a3b3" Padding="10">
|
||||||
<SearchBar Placeholder="Rechercher..." BackgroundColor="#bfe5ef" WidthRequest="200"/>
|
<SearchBar x:Name="searchBar" Placeholder="Rechercher..." BackgroundColor="#bfe5ef" Grid.Column="0"/>
|
||||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef">
|
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="2">
|
||||||
<Label Text="Filtrer" HorizontalTextAlignment="Center" />
|
<Label Text="Filtrer" HorizontalTextAlignment="Center" />
|
||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" >
|
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="4">
|
||||||
<Label Text="Trier" HorizontalTextAlignment="Center" />
|
<Label Text="Trier" HorizontalTextAlignment="Center" />
|
||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
</HorizontalStackLayout>
|
</Grid>
|
||||||
</CollectionView.Header>
|
</CollectionView.Header>
|
||||||
<CollectionView.ItemTemplate>
|
<CollectionView.ItemTemplate>
|
||||||
|
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
|
|
||||||
|
|
||||||
<Frame Style="{StaticResource frameObjet}">
|
<Frame Style="{StaticResource frameObjet}">
|
||||||
<StackLayout Orientation="Vertical" Padding="5">
|
<StackLayout Orientation="Vertical" Padding="5">
|
||||||
<Image
|
<Image
|
||||||
Source="{Binding Image}"
|
Source="{Binding Image}"
|
||||||
HeightRequest="290"
|
HeightRequest="290"
|
||||||
WidthRequest="290" />
|
WidthRequest="290" />
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
VerticalOptions="Start"
|
VerticalOptions="Start"
|
||||||
HorizontalTextAlignment="Center"
|
HorizontalTextAlignment="Center"
|
||||||
Text="{Binding Nom}"
|
Text="{Binding Nom}"
|
||||||
|
|
||||||
FontSize="19"
|
FontSize="19"
|
||||||
TextColor="#72a3b3"
|
TextColor="#72a3b3"
|
||||||
FontAttributes="Bold" />
|
FontAttributes="Bold" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</CollectionView.ItemTemplate>
|
</CollectionView.ItemTemplate>
|
||||||
</CollectionView>
|
</CollectionView>
|
||||||
</ContentPage>
|
</ContentPage>
|
Loading…
Reference in new issue