|
|
@ -1,16 +1,37 @@
|
|
|
|
<?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"
|
|
|
|
|
|
|
|
xmlns:view="clr-namespace:LivreLand.View"
|
|
|
|
xmlns:contentView="clr-namespace:LivreLand.View.ContentViews"
|
|
|
|
xmlns:contentView="clr-namespace:LivreLand.View.ContentViews"
|
|
|
|
x:Class="LivreLand.View.TousView"
|
|
|
|
x:Class="LivreLand.View.TousView"
|
|
|
|
Title="TousView">
|
|
|
|
Title="TousView">
|
|
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<ScrollView>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="10"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view:HeaderPage HeaderTitle="Tous"
|
|
|
|
|
|
|
|
HeaderBackButtonText="Mes livres"
|
|
|
|
|
|
|
|
HeaderPlusButtonVisible="True"
|
|
|
|
|
|
|
|
HeaderSwitchButtonVisible="True"
|
|
|
|
|
|
|
|
Grid.Row="0"/>
|
|
|
|
|
|
|
|
<ScrollView Grid.Row="2">
|
|
|
|
<CollectionView ItemsSource="{Binding AllBooks}">
|
|
|
|
<CollectionView ItemsSource="{Binding AllBooks}">
|
|
|
|
<CollectionView.GroupHeaderTemplate>
|
|
|
|
<CollectionView.GroupHeaderTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Label Text="Alain Damasio"/>
|
|
|
|
<Grid BackgroundColor="{DynamicResource HeaderGray}">
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Author}"
|
|
|
|
|
|
|
|
Grid.Column="1"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.GroupHeaderTemplate>
|
|
|
|
</CollectionView.GroupHeaderTemplate>
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
@ -21,9 +42,6 @@
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<Image Grid.Column="0"/>
|
|
|
|
|
|
|
|
<Grid Grid.Column="2">
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
@ -31,14 +49,22 @@
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid>
|
|
|
|
<Image Source="book_cover.png"
|
|
|
|
|
|
|
|
WidthRequest="100"
|
|
|
|
|
|
|
|
HeightRequest="100"
|
|
|
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
|
|
|
Grid.RowSpan="5"/>
|
|
|
|
<Label Text="{Binding Title}"
|
|
|
|
<Label Text="{Binding Title}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="0"/>
|
|
|
|
Grid.Row="0"/>
|
|
|
|
<Label Text="{Binding Author}"
|
|
|
|
<Label Text="{Binding Author}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="1"/>
|
|
|
|
Grid.Row="1"/>
|
|
|
|
<Label Text="{Binding State}"
|
|
|
|
<Label Text="{Binding State}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="2"/>
|
|
|
|
Grid.Row="2"/>
|
|
|
|
<contentView:StarNotationView Grid.Row="4"/>
|
|
|
|
<contentView:StarNotationView Grid.Column="2"
|
|
|
|
|
|
|
|
Grid.Row="4"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|