<?xml version="1.0" encoding="UTF-8" ?>
<Shell
    x:Class="ex_CustomToolbar.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:ex_CustomToolbar"
    xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
    Shell.FlyoutBehavior="Disabled"
    Shell.Padding="0"
    Shell.BackgroundColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}"
    Title="ex_CustomToolbar">

    <!-- <Shell.TitleView>
        <Grid ColumnDefinitions="Auto, *, Auto, Auto, Auto" HorizontalOptions="Fill">
            <Image Source="vinyl.png" HeightRequest="36"/>
            <Label Grid.Column="1" Margin="10, 0, 0, 0"
                Text="My Music App"
                TextColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource PrimaryDarkText}}" 
                VerticalTextAlignment="Center"
                VerticalOptions="Center"
                HeightRequest="36"
                FontSize="Medium"/>
            <ImageButton Source="hare.png" Grid.Column="2" MaximumHeightRequest="24">
                <ImageButton.Behaviors>
                    <toolkit:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource PrimaryDarkText}}"  />
                </ImageButton.Behaviors>
            </ImageButton>
            <ImageButton Source="info_circle.png" Grid.Column="3" MaximumHeightRequest="24">
                <ImageButton.Behaviors>
                    <toolkit:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource PrimaryDarkText}}"  />
                </ImageButton.Behaviors>
            </ImageButton>
            <ImageButton Source="ellipsis_vert.png" Grid.Column="4" MaximumHeightRequest="24">
                <ImageButton.Behaviors>
                    <toolkit:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource PrimaryDarkText}}"  />
                </ImageButton.Behaviors>
            </ImageButton>
        </Grid>
    </Shell.TitleView> -->

    <ShellContent
        Title="Home"
        ContentTemplate="{DataTemplate local:MainPage}"
        Route="MainPage" />

</Shell>
