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.

76 lines
2.6 KiB

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
BackgroundColor="{DynamicResource BlackColor}"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.RulesGame"
mc:Ignorable="d">
<Grid Margin="20,20,20,20">
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="10*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="10*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Label
Text="{x:Static resources:AppResources.StrTitleRules}"
VerticalOptions="Center"
HorizontalOptions="Center"
Grid.Column="1"
Grid.Row="0"
FontSize="35"
TextColor="{DynamicResource WhiteColor}"/>
<Button Text="Jouer"
Grid.Row="0"
Grid.Column="2"
BackgroundColor="{DynamicResource SkyBlueColor}"
VerticalOptions="Center"
HorizontalOptions="Center"
CornerRadius="10"
Clicked="ClickToPlay"/>
<ImageButton Source="HomeIcon.png"
Grid.Column="0"
Grid.Row="0"
VerticalOptions="Start"
HorizontalOptions="StartAndExpand"
HeightRequest="50"
WidthRequest="60"
Clicked="BackToHome"
BackgroundColor="Transparent"/>
<ScrollView Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="3"
Margin="20,0,20,0">
<StackLayout>
<Label
Text="{x:Static resources:AppResources.StrRules}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Image Source="ExempleJeu1.png"
WidthRequest="280"
HeightRequest="200"/>
</StackLayout>
</ScrollView>
</Grid>
</ContentPage>