<?xml version="1.0" encoding="utf-8" ?>
<ContentView 
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Class="AsReader251GMAUIiOSDemo.ActivityIndicatorView">
        <Grid BackgroundColor="Transparent" IsVisible="{Binding ShowActivityIndicator}" HorizontalOptions="Center" VerticalOptions="Center" Padding="20">
            <Frame BackgroundColor="White" BorderColor="White" MinimumWidthRequest="150">
                <StackLayout Spacing="30">
                    <ActivityIndicator BackgroundColor="Transparent" Margin="0,10,0,0" IsRunning="{Binding ActivityIndicatorIsRunning}" Color="Gray" Scale="{OnPlatform iOS=2}">
                    </ActivityIndicator> 
                    <Label Text="{Binding ActivityIndicatorText}" TextColor="White" FontAttributes="Bold" FontSize="18" VerticalOptions="End" HorizontalOptions="Center" HorizontalTextAlignment="Center"></Label>
                </StackLayout>
            </Frame>
        </Grid>
</ContentView>
