<?xml version="1.0" encoding="UTF-8"?>
<StackLayout xmlns="http://xamarin.com/schemas/2014/forms" 
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="PhilExample.UI.Views.CategoryMiniView"
             xmlns:vms="clr-namespace:PhilExample.VMs"
             xmlns:ffimg="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms"
             x:DataType="vms:CategoryMiniVM"
             HorizontalOptions="FillAndExpand"
             Orientation="Horizontal"
             Margin="0,4,0,4" Padding="0" Spacing="0">

    <Label Margin="0,0,10,0"
           Text="{Binding Category.Name}"
           FontSize="16" TextColor="{StaticResource Color_Primary}" FontFamily="NunitoSemiBold"
           HorizontalOptions="StartAndExpand" VerticalOptions="Center" />

    <ffimg:SvgCachedImage IsVisible="{Binding ShowArrow}"
                          Margin="4"
                          HeightRequest="12" WidthRequest="8"
                          CacheType="All"
                          Source="resource://PhilExample.Resources.Images.arrow-right.svg" />

    <StackLayout.GestureRecognizers>
        <TapGestureRecognizer Command="{Binding ActionCommand}" CommandParameter="{Binding ActionCommandParameter}" />
    </StackLayout.GestureRecognizers>
</StackLayout>