<?xml version="1.0" encoding="UTF-8"?>
<Shell xmlns="http://xamarin.com/schemas/2014/forms" 
       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
       xmlns:pages="clr-namespace:PhilExample.UI.Pages"
       Title="PhilExample"
       x:Class="PhilExample.AppShell">

    
    <Shell.Resources>
        <ResourceDictionary>
            <Style x:Key="BaseStyle" TargetType="Element">
                <Setter Property="Shell.BackgroundColor" Value="{StaticResource Color_Background}" />
                <Setter Property="Shell.ForegroundColor" Value="White" />
                <Setter Property="Shell.TitleColor" Value="{StaticResource Color_Text1}" />
                <Setter Property="Shell.DisabledColor" Value="#B4FFFFFF" />
                <Setter Property="Shell.UnselectedColor" Value="#95FFFFFF" />
                <Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Color_Background}" />
                <Setter Property="Shell.TabBarForegroundColor" Value="White"/>
                <Setter Property="Shell.TabBarUnselectedColor" Value="#95FFFFFF"/>
                <Setter Property="Shell.TabBarTitleColor" Value="{StaticResource Color_Text1}"/>
            </Style>
            <Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
            <Style TargetType="FlyoutItem" BasedOn="{StaticResource BaseStyle}" />
        </ResourceDictionary>
    </Shell.Resources>


    <ShellContent Route="StartupPage"
                  ContentTemplate="{DataTemplate pages:StartupPage}" />

    <TabBar Route="main">
        <ShellContent Title="Dashboard"
                      Route="DashboardPage"
                      ContentTemplate="{DataTemplate pages:DashboardPage}"/>
        <!-- <ShellContent Title="Profile"
                      Route="ProfilePage"
                      ContentTemplate="{DataTemplate pages:ProfilePage}" /> -->
    </TabBar>

</Shell>
