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.

81 lines
2.1 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="BookApp.Player"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:v="clr-namespace:BookApp.ContentViews"
Routing.Route="player"
Title="Player">
<Shell.TitleView>
<StackLayout Orientation="Horizontal">
<Grid RowDefinitions="*" ColumnDefinitions="*,*,*,*" ColumnSpacing="25" Margin="200,0,0,0">
<Image Grid.Column="3" Source="elp.png" WidthRequest="20" />
<Image Grid.Column="2" Source="approuve.png" WidthRequest="20" />
</Grid>
</StackLayout>
</Shell.TitleView>
<ScrollView>
<VerticalStackLayout
Spacing="25"
Padding="30,0"
VerticalOptions="Center">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid>
<v:Player/>
</Grid>
<Grid Grid.Row="1" >
<CollectionView x:Name="myListView" >
<CollectionView.ItemTemplate>
<DataTemplate>
<HorizontalStackLayout Spacing="12">
<Image Source="star.png" WidthRequest="10" HeightRequest="10" />
<Label Text="2" Padding="12" />
<Label Text="{Binding .}" WidthRequest="180" Padding="12" />
<Image Source="dwl.png" Style="{StaticResource Key=ImagePlayer}" />
<Image Source="elp.png" Style="{StaticResource Key=ImagePlayer}" />
</HorizontalStackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</Grid>
<Grid Grid.Row="2" >
</Grid>
<Grid Grid.Row="3">
<v:Playerboard/>
</Grid>
</Grid>
</VerticalStackLayout>
</ScrollView>
</ContentPage>