<?xml version="1.0" encoding="utf-8" ?>
<ContentView
    x:Class="SeriesTracker.Controls.CustomEmptyView"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Name="this">
    <StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand">
        <ActivityIndicator
            HeightRequest="40"
            IsRunning="{Binding Source={x:Reference this}, Path=IsActive}"
            WidthRequest="40" />
        <Label
            Margin="10,25,10,10"
            FontAttributes="Bold"
            FontSize="18"
            HorizontalOptions="Fill"
            HorizontalTextAlignment="Center"
            Text="{Binding Source={x:Reference this}, Path=MainText}" />
        <Label
            FontAttributes="Italic"
            FontSize="12"
            HorizontalOptions="Fill"
            HorizontalTextAlignment="Center"
            Text="{Binding Source={x:Reference this}, Path=SubText}" />
    </StackLayout>
</ContentView>
