<?xml version="1.0" encoding="utf-8" ?>
<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
               x:Class="Sample.IndicatorPopup"
               Color="Transparent"
               CanBeDismissedByTappingOutsideOfPopup="False">
    
    <VerticalStackLayout HorizontalOptions="Center" 
                         VerticalOptions="Center">
        <Frame Padding="20" 
               BackgroundColor="{AppThemeBinding Light=White, Dark=#454545}">
            <VerticalStackLayout>
                <ActivityIndicator HorizontalOptions="Center"
                                   VerticalOptions="Center"
                                   IsRunning="true"/>
                <Label Text="Processing..." 
                       TextColor="{AppThemeBinding Light=Black, Dark=White}"
                       FontSize="20" 
                       HorizontalTextAlignment="Center" 
                       VerticalTextAlignment="Center"/>
            </VerticalStackLayout>
        </Frame>
    </VerticalStackLayout>
</toolkit:Popup>

