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.

90 lines
3.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage BackgroundColor="{DynamicResource BlackColor}" x:Name="pageContentSetting"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TheGameExtreme.view.Settings">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<ImageButton Source="ArrowSettingsBack.png"
Grid.Row="0" Grid.Column="0"
VerticalOptions="Start"
HorizontalOptions="StartAndExpand"
HeightRequest="40"
WidthRequest="50"
Clicked="SettingToHomePage"
BackgroundColor="Transparent"
Margin="10,10,0,0"/>
<Label HorizontalTextAlignment="Start"
Text ="Langage" Grid.Column="0"
Grid.Row="0" FontSize="25"
TextColor="{DynamicResource WhiteColor}"
Margin="40,58,0,0"/>
<Label Text="English"
Grid.Column="1" Grid.Row="0"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
Margin="80,58,0,0"/>
<CheckBox IsChecked="False"
Grid.Column="1" Grid.Row="0"
x:Name="CBBr"
CheckedChanged="CBBr_CheckedChanged"
Color="SkyBlue"
Margin="40,63,0,0"/>
<Label Text="Français"
Grid.Column="2" Grid.Row="0"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
Margin="80,58,0,0"/>
<CheckBox IsChecked="True"
Grid.Column="2" Grid.Row="0"
x:Name="CBFr"
CheckedChanged="CBFr_CheckedChanged"
Color="SkyBlue"
Margin="40,63,0,0"/>
<Label HorizontalTextAlignment="Start"
Text="Mode Extreme" Grid.Column="0"
Grid.Row="2" FontSize="25"
TextColor="{DynamicResource WhiteColor}"
Margin="40,25,0,0"/>
<Switch
Grid.Column="1" Grid.Row="2"
OnColor="SkyBlue"
ThumbColor="WhiteSmoke"/>
<Label Text="Thème Clair"
Grid.Column="0" Grid.Row="3"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
Margin="40,25,0,0"/>
<Switch
Grid.Column="1" Grid.Row="3"
Toggled="Switch_Toggled_Theme" x:Name="swTheme"
OnColor="SkyBlue" ThumbColor="WhiteSmoke"/>
</Grid>
</ContentPage>