Mise en place de la vue Setting

master
Baptiste ARNAUD 6 years ago
parent 9d7348a9bf
commit 49cf2d006b

@ -23,7 +23,6 @@ namespace TheGameExtreme.iOS
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
global::Xamarin.Forms.FormsMaterial.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage Visual="Material"
BackgroundColor="#4d4c4a" Opacity=""
BackgroundColor="#4d4c4a"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TheGameExtreme.view.HomePage">

@ -1,17 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
<ContentPage BackgroundColor="#4d4c4a"
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="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackLayout>
<Label Text="langage" Margin="50" />
<Label HorizontalTextAlignment="Start" Text="langage" Grid.Column="0" Grid.Row="0" FontSize="25" TextColor="Black"/>
<Label Text="English" Grid.Column="1" Grid.Row="0" FontSize="25" TextColor="Black"/>
<CheckBox IsChecked="False" Grid.Column="1" Grid.Row="0" x:Name="CBBr"/>
<Label Text="Français" Grid.Column="2" Grid.Row="0" FontSize="25" TextColor="Black"/>
<CheckBox IsChecked="False" Grid.Column="2" Grid.Row="0" x:Name="CBFr"/>
<Label Text="Sound"/>
<Switch IsToggled="true"/>
<Label Text="Mode Extreme"/>
<Switch IsToggled="true"/>
</StackLayout>
<Label HorizontalTextAlignment="Start" Text="Sound" Grid.Column="0" Grid.Row="1" TextColor="Black" FontSize="25"/>
<Switch IsToggled="true" Grid.Column="1" Grid.Row="1" />
<Label HorizontalTextAlignment="Start" Text="Mode Extreme" Grid.Column="0" Grid.Row="2" TextColor="Black" FontSize="25"/>
<Switch IsToggled="True" Grid.Column="1" Grid.Row="2" />
</Grid>
</ContentPage>

@ -7,9 +7,16 @@ namespace TheGameExtreme.view
{
public partial class Settings : ContentPage
{
public Settings()
{
InitializeComponent();
if(CBFr.IsChecked == true)
{
}
}
}
}

Loading…
Cancel
Save