<?xml version="1.0" encoding="utf-8" ?>
<!-- Views/SplashView.xaml -->
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Gready_Poang.ViewsPartial.SplashView"
             xmlns:vm="clr-namespace:Gready_Poang.CommandClasses"
             x:DataType="vm:SplashViewModelCommands">
    <!--IsVisible="{Binding IsSplashVisible}">-->

    <Border x:Name="SplashBorder" 
            Stroke="Black"
            BackgroundColor="{Binding SplashBackgroundColor}"
            WidthRequest="350"
            HeightRequest="200"
            StrokeShape="RoundRectangle 20"
            Padding="20"
            IsVisible="{Binding IsSplashVisible}"
            HorizontalOptions="Center"
            VerticalOptions="Center"
            Opacity="{Binding SplashOpacity}">
        <StackLayout>
            <!--<Image Source="{Binding SplashImage}" HeightRequest="60" />-->
            <Label Text="{Binding SplashText}"
                   FontSize="18"
                   HorizontalOptions="Center"
                   VerticalOptions="Center"
                   TextColor="{Binding SplashTextColor}"/>
        </StackLayout>
    </Border>
</ContentView>
