<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="CafeTerrace.Views.Controller.BuyBagButton"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:d="http://xamarin.com/schemas/2014/forms/design"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:model="clr-namespace:CafeTerrace.Models;assembly=CafeTerrace"
    HeightRequest="45"
    WidthRequest="45"
    mc:Ignorable="d">
    <ContentView.Content>
        <Grid>
            <Frame
                Padding="0"
                BackgroundColor="Accent"
                CornerRadius="25"
                HeightRequest="45"
                WidthRequest="45">
                <Label
                    FontFamily="{StaticResource FontAwsomeFontFamily}"
                    FontSize="23"
                    HorizontalOptions="Center"
                    Text="{x:Static model:FaIconFont.ShoppingBasket}"
                    TextColor="{StaticResource PrimaryColor}"
                    VerticalOptions="Center" />
            </Frame>
            <Frame
                Margin="-4,-4,-4,0"
                Padding="0"
                BackgroundColor="{StaticResource Red}"
                CornerRadius="20"
                HeightRequest="22"
                HorizontalOptions="Start"
                VerticalOptions="End"
                WidthRequest="22">
                <Label
                    FontFamily="{StaticResource ShabnameBold}"
                    FontSize="12"
                    HorizontalOptions="Center"
                    Text="{Binding FoodCount}"
                    TextColor="White"
                    VerticalOptions="Center" />
            </Frame>
        </Grid>
    </ContentView.Content>
</ContentView>