<?xml version="1.0" encoding="UTF-8" ?>
<Shell xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
       xmlns:views="clr-namespace:Scry.Views"
       x:Class="Scry.AppShell"
       Shell.FlyoutBehavior="Disabled">

    <TabBar>
        <ShellContent Title="Scan"
                      Icon="{OnPlatform Android=camera, Default=camera.png}"
                      ContentTemplate="{DataTemplate views:ScanPage}" />
        <ShellContent Title="Collection"
                      Icon="{OnPlatform Android=collections, Default=collections.png}"
                      ContentTemplate="{DataTemplate views:CollectionPage}" />
        <ShellContent Title="Settings"
                      Icon="{OnPlatform Android=settings, Default=settings.png}"
                      ContentTemplate="{DataTemplate views:SettingsPage}" />
    </TabBar>

    <!-- Route for card detail -->
    <Shell.Resources>
        <ResourceDictionary>
            <Style TargetType="TabBar">
                <Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Primary}" />
                <Setter Property="Shell.TabBarTitleColor" Value="White" />
                <Setter Property="Shell.TabBarUnselectedColor" Value="#80FFFFFF" />
            </Style>
        </ResourceDictionary>
    </Shell.Resources>

</Shell>
