parent
74ae41a6c6
commit
103b4801ed
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 71 KiB |
@ -1,25 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Application 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" mc:Ignorable="d" x:Class="TheGameExtreme.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style x:Key="MyBackGroundColorStyle" TargetType="ContentPage">
|
||||
<Setter Property="BackgroundColor" Value="Black"></Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="MyBackGroundColorStyle2" TargetType="ContentPage">
|
||||
<Setter Property="BackgroundColor" Value="White"></Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ColorLabelDark" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="White"></Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ColorLabelWhite" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="Black"></Setter>
|
||||
</Style>
|
||||
<Style x:Key="ColorLabelRed" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="Red"></Setter>
|
||||
<ResourceDictionary x:Key="DictionnaireR">
|
||||
<Style x:Key="ColorApplication" TargetType="ContentPage">
|
||||
<Setter Property="BackgroundColor" Value="Black"></Setter>
|
||||
</Style>
|
||||
<Style x:Key="ColorLabel" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="Black"></Setter>
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
|
@ -1,15 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<ContentPage BackgroundColor="#4d4c4a"
|
||||
<ContentPage Style="{StaticResource MyBackGroundColorStyle}"
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="TheGameExtreme.view.MultiPlayerMode">
|
||||
|
||||
<StackLayout>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Button Text="Connexion Bluetooth" Margin="60"/>
|
||||
<Button Text="Connexion Wifi" />
|
||||
<ImageButton Source="ArrowSettingsBack.png"
|
||||
Margin="15,15,0,0"
|
||||
Clicked="BackMulti_Clicked"
|
||||
BackgroundColor="Transparent"
|
||||
VerticalOptions="StartAndExpand"
|
||||
HorizontalOptions="Start"
|
||||
HeightRequest="50"
|
||||
WidthRequest="58"
|
||||
Grid.Column="0" Grid.Row="0"/>
|
||||
|
||||
</StackLayout>
|
||||
<Label Text="Multijoueur" Style="{StaticResource ColorLabelDark}"
|
||||
FontSize="28"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"
|
||||
Grid.Column="1" Grid.Row="0"/>
|
||||
|
||||
<Button Text="Connexion Bluetooth"
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
WidthRequest="230"
|
||||
HeightRequest="57"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="SkyBlue"/>
|
||||
|
||||
<Button Text="Connexion Wifi"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
WidthRequest="230"
|
||||
HeightRequest="57"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="SkyBlue"/>
|
||||
|
||||
</Grid>
|
||||
|
||||
</ContentPage>
|
Loading…
Reference in new issue