<phone:PhoneApplicationPage
    x:Class="BluetoothClientWP8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
                    <!--Double line list no text wrapping-->
        <Image Name="imagem" Source="Assets\bussola-material-vector_15-8782.jpg" HorizontalAlignment="Left" Height="318" Margin="52,273,0,0" VerticalAlignment="Top" Width="322" RenderTransformOrigin="0.5,0.5">
            <Image.RenderTransform>
                <CompositeTransform Rotation="0.721"/>
            </Image.RenderTransform>
        </Image>
        <!--Double line list no text wrapping-->
        <TextBox TextAlignment="Right" x:Name="DeviceName" HorizontalAlignment="Left" Height="72" Margin="267,25,0,0" TextWrapping="Wrap" Text="HC-06" VerticalAlignment="Top" Width="203"/>



        <Rectangle HorizontalAlignment="Left" Height="91.228" Margin="173.706,183.354,0,0" Stroke="Red" StrokeThickness="50" VerticalAlignment="Top" Width="88.116" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
            <Rectangle.RenderTransform>
                <CompositeTransform Rotation="46.44"/>
            </Rectangle.RenderTransform>
        </Rectangle>

        <Ellipse HorizontalAlignment="Left" Height="543" Margin="-58,156,0,0" Stroke="Black" StrokeThickness="100" VerticalAlignment="Top" Width="535"/>
        <Ellipse HorizontalAlignment="Left" Margin="12,230,0,0" Stroke="LightBlue" StrokeThickness="50" Width="400" Height="402" VerticalAlignment="Top"/>
        <Button x:Name="ConnectAppToDeviceButton" Click="ConnectAppToDeviceButton_Click_1" Content="Connect" HorizontalAlignment="Left" Margin="10,10,0,0" FontSize="36" VerticalAlignment="Top" Height="100" Width="252"/>
        <TextBlock FontWeight="Bold" HorizontalAlignment="Left" Margin="26,115,0,0" TextWrapping="Wrap" Text="Ângulo (º):" VerticalAlignment="Top" Height="48" Width="200" FontSize="36" TextAlignment="Left"/>
        <TextBlock Foreground="LightCyan" FontWeight="Bold" x:Name="BodyDetectionStatus" HorizontalAlignment="Left" Margin="236,115,0,0" TextWrapping="Wrap" Text="0º" VerticalAlignment="Top" Width="218" FontSize="36" TextAlignment="Right"/>
        <Slider x:Name="direcao" Background="White" Minimum="10" Maximum="20" Value="15" HorizontalAlignment="Left" Margin="37,690,0,-6" VerticalAlignment="Top" Width="394"/>
        <Slider x:Name="velocidade" Background="White" Minimum="10" Maximum="20" Value="15"  HorizontalAlignment="Left" Margin="251.599,404.061,-193.934,0" VerticalAlignment="Top" Height="82" Width="422.335" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
            <Slider.RenderTransform>
                <CompositeTransform Rotation="-89.515"/>
            </Slider.RenderTransform>
        </Slider>
    </Grid>
</phone:PhoneApplicationPage>