🚧 Modification de la page de seltion map
continuous-integration/drone/push Build is passing Details

pull/95/head
Lucas DUFLOT 11 months ago
parent de321a0726
commit af6e9ec71c

@ -4,9 +4,11 @@
x:Class="Trek_12.Views.PageSelectMap"
Title="PageSelectMap">
<Grid RowDefinitions="*,auto">
<CarouselView ItemsSource="{Binding ListMap}"
PeekAreaInsets="800">
<CarouselView.ItemTemplate>
<CollectionView ItemsSource="{Binding ListMap}"
ItemsLayout="HorizontalList"
HorizontalOptions="Center"
SelectionMode="Single">
<CollectionView.ItemTemplate>
<DataTemplate>
<Frame HasShadow="True"
BorderColor="DarkGray"
@ -15,7 +17,8 @@
HeightRequest="300"
WidthRequest="200"
HorizontalOptions="Center"
VerticalOptions="CenterAndExpand">
VerticalOptions="CenterAndExpand"
x:Name="Frame">
<Grid RowDefinitions="auto,*">
<Label Text="{Binding Background}"
FontAttributes="Bold"
@ -31,7 +34,19 @@
</Grid>
</Frame>
</DataTemplate>
</CarouselView.ItemTemplate>
</CarouselView>
</CollectionView.ItemTemplate>
</CollectionView>
<Button Text="Retour"
FontAttributes="Bold"
FontSize="Large"
Grid.Row="1"
HorizontalOptions="Start"
Margin="100"/>
<Button Text="Jouer"
FontAttributes="Bold"
FontSize="Large"
Grid.Row="1"
HorizontalOptions="End"
Margin="100"/>
</Grid>
</ContentPage>

@ -10,5 +10,7 @@ public partial class PageSelectMap : ContentPage
{
InitializeComponent();
BindingContext = MyStub;
}
}
Loading…
Cancel
Save