Départ de stub pour le leaderboard
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2f8923cc0e
commit
3a2eee23b6
@ -1,43 +1,54 @@
|
|||||||
<?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:views="clr-namespace:Trek_12.Views.Components"
|
xmlns:views="clr-namespace:Trek_12.Views.Components"
|
||||||
x:Class="Trek_12.Views.PageLeaderBoard"
|
x:Class="Trek_12.Views.PageLeaderBoard"
|
||||||
Title="PageLeaderBoard">
|
Title="PageLeaderBoard">
|
||||||
<Grid BackgroundColor="BlanchedAlmond"
|
|
||||||
RowDefinitions="auto,6*,*">
|
|
||||||
<VerticalStackLayout>
|
<Grid BackgroundColor="BlanchedAlmond"
|
||||||
<Label
|
RowDefinitions="auto,6*,*">
|
||||||
Text="Leader board"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
HorizontalOptions="Center"
|
<VerticalStackLayout>
|
||||||
FontSize="Title"/>
|
<Label
|
||||||
<BoxView
|
Text="Leader board"
|
||||||
Color="DarkSalmon"
|
VerticalOptions="Center"
|
||||||
HeightRequest="1"
|
HorizontalOptions="Center"
|
||||||
WidthRequest="125"/>
|
FontSize="Title"/>
|
||||||
</VerticalStackLayout>
|
<BoxView
|
||||||
<ScrollView Grid.Row="1"
|
Color="DarkSalmon"
|
||||||
VerticalOptions="FillAndExpand"
|
HeightRequest="1"
|
||||||
VerticalScrollBarVisibility="Never"
|
WidthRequest="125"/>
|
||||||
Margin="0,10">
|
</VerticalStackLayout>
|
||||||
<VerticalStackLayout>
|
|
||||||
<views:ContentLeaderBoard/>
|
|
||||||
<views:ContentLeaderBoard/>
|
|
||||||
<views:ContentLeaderBoard/>
|
<ScrollView Grid.Row="1"
|
||||||
<views:ContentLeaderBoard/>
|
VerticalOptions="FillAndExpand"
|
||||||
<views:ContentLeaderBoard/>
|
VerticalScrollBarVisibility="Never"
|
||||||
<views:ContentLeaderBoard/>
|
Margin="0,10">
|
||||||
</VerticalStackLayout>
|
|
||||||
</ScrollView>
|
|
||||||
<Button Text="Back"
|
<CollectionView ItemsSource="{Binding ListPlayer}">
|
||||||
BackgroundColor="OliveDrab"
|
<CollectionView.ItemTemplate>
|
||||||
FontSize="Title"
|
<DataTemplate>
|
||||||
Grid.Row="2"
|
<Label Text="{Binding Pseudo}"/>
|
||||||
HorizontalOptions="Start"
|
</DataTemplate>
|
||||||
CornerRadius="20"
|
</CollectionView.ItemTemplate>
|
||||||
WidthRequest="150"
|
</CollectionView>
|
||||||
HeightRequest="75"
|
|
||||||
Margin="10"/>
|
</ScrollView>
|
||||||
</Grid>
|
|
||||||
|
|
||||||
|
<Button Text="Back"
|
||||||
|
BackgroundColor="OliveDrab"
|
||||||
|
FontSize="Title"
|
||||||
|
Grid.Row="2"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
CornerRadius="20"
|
||||||
|
WidthRequest="150"
|
||||||
|
HeightRequest="75"
|
||||||
|
Margin="10"/>
|
||||||
|
</Grid>
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,9 +1,12 @@
|
|||||||
namespace Trek_12.Views;
|
namespace Trek_12.Views;
|
||||||
|
using Stub;
|
||||||
public partial class PageLeaderBoard : ContentPage
|
|
||||||
{
|
public partial class PageLeaderBoard : ContentPage
|
||||||
public PageLeaderBoard()
|
{
|
||||||
{
|
public Stub MyStub { get; set; } = new Stub();
|
||||||
InitializeComponent();
|
public PageLeaderBoard()
|
||||||
}
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
BindingContext = MyStub;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in new issue