<?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:local="clr-namespace:XamarinDemoApp.Views"
       Shell.FlyoutBehavior="Disabled"
       x:Class="XamarinDemoApp.AppShell">

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

        </ResourceDictionary>

    </Shell.Resources>

    <TabBar>
        <ShellContent Title="Login" Icon="login.png"  Route="LoginPage" ContentTemplate="{DataTemplate local:LoginPage}" />
        <ShellContent Title="Home" Icon="home.png" Route="HomePage" ContentTemplate="{DataTemplate local:HomePage}" />
        <ShellContent Title="Spots" Icon="spotlight.png" Route="MobileSpotsPage" ContentTemplate="{DataTemplate local:MobileSpotsPage}" />
        <ShellContent Title="Msg" Icon="message.png" Route="MobileMessagesPage" ContentTemplate="{DataTemplate local:MobileMessagesPage}" />
        <ShellContent Title="Diagnostics" Icon="stethoscope.png"  Route="DiagnosticsPage" ContentTemplate="{DataTemplate local:DiagnosticsPage}" />   

    </TabBar>
</Shell>
