<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="WorkFlowCheck.MAUI.Pages.NFC.NFCWaiter"
             Title="Várakozás NFC olvasásra"
             BackgroundColor="#f0f0f0">

    <Frame  BackgroundColor="White"
                BorderColor="#cccccc"
                CornerRadius="20"
                Padding="30"
                HasShadow="True"
                HorizontalOptions="Center"
                VerticalOptions="Center"
                WidthRequest="{OnPlatform Android=450, iOS=350, WinUI=400, MacCatalyst=400}"
                MaximumWidthRequest="500">
        <VerticalStackLayout Spacing="20" Padding="20" HorizontalOptions="Center" VerticalOptions="Center">
            <Label Text="Tartsa a készülékhez az NFC tag-et..."
               TextColor="Black"
               FontSize="20"
               HorizontalOptions="Center" />
            <ActivityIndicator IsRunning="True" />
            <Button x:Name="CancelButton"
                    Text="Mégse"
                    FontSize="18"
                    TextColor="White"
                    HorizontalOptions="Fill"
                    Clicked="OnCancelButtonClicked" />
        </VerticalStackLayout>
    </Frame>
</ContentPage>