<?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"
             mc:Ignorable="d"
             xmlns:resources="clr-namespace:OrderStacks.Resx"
             x:Class="OrderStacks.view.Testconnectivité">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*"/>
            <RowDefinition Height="10*"/>
            <RowDefinition Height="2*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="10*"/>
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>


        <Label Text="Test"
               Grid.Column="1"
               Grid.Row="0"
               TextColor ="{DynamicResource WhiteColor}"
               VerticalOptions="Center"
               HorizontalOptions="Center"/>

        <ListView x:Name="messagesList"
                  
                  Grid.Row="1"
                  Grid.Column="1"
                  VerticalOptions="Center"
                  HorizontalOptions="Center"
                  BackgroundColor="{DynamicResource WhiteColor}"/>

        <Button Text="Log"
                BackgroundColor="{DynamicResource SkyBlueColor}"
                Grid.Column="0"
                Grid.Row="0"
                CornerRadius="10"
                
                HorizontalOptions="Center"
                x:Name="connectButton"
                VerticalOptions="End"/>

        <Button Text="Send"
                x:Name="sendButton"
                BackgroundColor="{DynamicResource SkyBlueColor}"
                Grid.Column="1"
                Grid.Row="2"
                CornerRadius="10"
                HorizontalOptions="Center"
                VerticalOptions="End"/>
        

    </Grid>
    
</ContentPage>