<Page
    x:Class="Zebra_RFID_Mobile.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Zebra_RFID_Mobile"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <TextBlock x:Name="TextBlockAbout" HorizontalAlignment="Left" Margin="285,30,0,0" TextWrapping="Wrap" Text="About" VerticalAlignment="Top" FontSize="18" Tapped="Tapped_About" Width="60" Height="30" />
        <Image x:Name="ImageRapidRead" Source="Assets/rapidread.png" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="135" Tapped="Tapped_RapidRead" Margin="19,65,0,0"/>
        <Image x:Name="ImageInventory" Source="Assets/inventory.png" HorizontalAlignment="Left" Height="140" VerticalAlignment="Top" Width="135" Tapped="Tapped_Inventory" Margin="204,65,0,0"/>
        <Image x:Name="ImageSettings" Source="Assets/settings.png" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="135" Tapped="Tapped_Settings" Margin="204,248,0,0"/>
        <Image x:Name="ImageLocateTag" Source="Assets/Locate.png" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="135" Tapped="Tapped_LocateTag" Margin="19,248,0,0"/>
        <Image x:Name="ImageFilters" Source="Assets/filter.png" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="135" Tapped="Tapped_Filters" Margin="204,424,0,0"/>
        <Image x:Name="ImageAccess" Source="Assets/Access.png" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="135" Tapped="Tapped_Access" Margin="19,429,0,0"/>
        <TextBlock Margin="33,200,0,0" TextWrapping="Wrap" Text="Rapid Read" VerticalAlignment="Top"  FontSize="18" HorizontalAlignment="Left"/>
        <TextBlock Margin="235,200,0,0" TextWrapping="Wrap" Text="Inventory" VerticalAlignment="Top"  FontSize="18" HorizontalAlignment="Left"/>
        <TextBlock Margin="235,555,0,0" TextWrapping="Wrap" Text="Pre Filters" VerticalAlignment="Top" Height="26"  FontSize="18" HorizontalAlignment="Left"/>
        <TextBlock Margin="235,380,0,0" TextWrapping="Wrap" Text="Settings" VerticalAlignment="Top" FontSize="18" HorizontalAlignment="Left"/>
        <TextBlock Margin="33,555,0,0" TextWrapping="Wrap" Text="Access Control" VerticalAlignment="Top" Height="26"  FontSize="18" HorizontalAlignment="Left"/>
        <TextBlock Margin="33,380,0,0" TextWrapping="Wrap" Text="Locate Tag" VerticalAlignment="Top"  FontSize="18" HorizontalAlignment="Left"/>
        <ProgressRing x:Name="PopUpSettings" IsEnabled="{Binding SettingsStatusShow}" IsEnabledChanged="ProgressRing_IsEnabledChanged" IsActive="{Binding SettingsStatusShow}" Margin="0,0,0,20" Width="40" Height="40" HorizontalAlignment="Center" VerticalAlignment="Bottom">
            <FlyoutBase.AttachedFlyout>
                <Flyout x:Name="SettingsStatusFlyout" Opened="FlyoutShown" >
                    <TextBlock x:Name="textSettingsStatusLabel"  TextWrapping="Wrap" FontSize="22" HorizontalAlignment="Left" Text="{Binding SettingsStatus}"  Margin="0" TextAlignment="Center" VerticalAlignment="Top" Width="340" Height="80"/>
                </Flyout>
            </FlyoutBase.AttachedFlyout>
        </ProgressRing>
    </Grid>
</Page>
