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" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:views="clr-namespace:Trek_12.Views.Components"
|
||||
x:Class="Trek_12.Views.PageLeaderBoard"
|
||||
Title="PageLeaderBoard">
|
||||
<Grid BackgroundColor="BlanchedAlmond"
|
||||
RowDefinitions="auto,6*,*">
|
||||
<VerticalStackLayout>
|
||||
<Label
|
||||
Text="Leader board"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
FontSize="Title"/>
|
||||
<BoxView
|
||||
Color="DarkSalmon"
|
||||
HeightRequest="1"
|
||||
WidthRequest="125"/>
|
||||
</VerticalStackLayout>
|
||||
<ScrollView Grid.Row="1"
|
||||
VerticalOptions="FillAndExpand"
|
||||
VerticalScrollBarVisibility="Never"
|
||||
Margin="0,10">
|
||||
<VerticalStackLayout>
|
||||
<views:ContentLeaderBoard/>
|
||||
<views:ContentLeaderBoard/>
|
||||
<views:ContentLeaderBoard/>
|
||||
<views:ContentLeaderBoard/>
|
||||
<views:ContentLeaderBoard/>
|
||||
<views:ContentLeaderBoard/>
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
<Button Text="Back"
|
||||
BackgroundColor="OliveDrab"
|
||||
FontSize="Title"
|
||||
Grid.Row="2"
|
||||
HorizontalOptions="Start"
|
||||
CornerRadius="20"
|
||||
WidthRequest="150"
|
||||
HeightRequest="75"
|
||||
Margin="10"/>
|
||||
</Grid>
|
||||
<?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"
|
||||
xmlns:views="clr-namespace:Trek_12.Views.Components"
|
||||
x:Class="Trek_12.Views.PageLeaderBoard"
|
||||
Title="PageLeaderBoard">
|
||||
|
||||
|
||||
<Grid BackgroundColor="BlanchedAlmond"
|
||||
RowDefinitions="auto,6*,*">
|
||||
|
||||
|
||||
<VerticalStackLayout>
|
||||
<Label
|
||||
Text="Leader board"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
FontSize="Title"/>
|
||||
<BoxView
|
||||
Color="DarkSalmon"
|
||||
HeightRequest="1"
|
||||
WidthRequest="125"/>
|
||||
</VerticalStackLayout>
|
||||
|
||||
|
||||
|
||||
<ScrollView Grid.Row="1"
|
||||
VerticalOptions="FillAndExpand"
|
||||
VerticalScrollBarVisibility="Never"
|
||||
Margin="0,10">
|
||||
|
||||
|
||||
<CollectionView ItemsSource="{Binding ListPlayer}">
|
||||
<CollectionView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Label Text="{Binding Pseudo}"/>
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
|
||||
<Button Text="Back"
|
||||
BackgroundColor="OliveDrab"
|
||||
FontSize="Title"
|
||||
Grid.Row="2"
|
||||
HorizontalOptions="Start"
|
||||
CornerRadius="20"
|
||||
WidthRequest="150"
|
||||
HeightRequest="75"
|
||||
Margin="10"/>
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -1,9 +1,12 @@
|
||||
namespace Trek_12.Views;
|
||||
|
||||
public partial class PageLeaderBoard : ContentPage
|
||||
{
|
||||
public PageLeaderBoard()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace Trek_12.Views;
|
||||
using Stub;
|
||||
|
||||
public partial class PageLeaderBoard : ContentPage
|
||||
{
|
||||
public Stub MyStub { get; set; } = new Stub();
|
||||
public PageLeaderBoard()
|
||||
{
|
||||
InitializeComponent();
|
||||
BindingContext = MyStub;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue