<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:extensions="clr-namespace:PlantBox.Client.Extensions"
             x:Class="PlantBox.Client.Forms.HomeItem">
    <ContentView.Content>
        <Frame CornerRadius="5"
               Padding="5"
               BorderColor="{OnPlatform UWP='Gray', Android='Gray'}"
               HasShadow="True"
               BackgroundColor="{OnPlatform UWP='#F0F0F0'}">
            <StackLayout HorizontalOptions="Fill"
                         VerticalOptions="Fill"
                         Orientation="Horizontal">
                <Image x:Name="imageType"
                       Source="{extensions:ImageResource Logo_Gray.png}"
                       WidthRequest="50"
                       Margin="2, 0, 0, 0"/>
                <BoxView VerticalOptions="Fill"
                         WidthRequest="3"
                         Margin="0, 2"
                         CornerRadius="5"
                         BackgroundColor="Gray" />
                <StackLayout Orientation="Vertical">
                    <Label x:Name="labelName"
                           VerticalOptions="StartAndExpand"
                           TextColor="#666666"
                           Style="{DynamicResource TitleStyle}" />
                    <Label x:Name="labelType"
                           VerticalOptions="StartAndExpand"
                           TextColor="Gray"
                           Style="{DynamicResource SubtitleStyle}" />
                </StackLayout>
                <BoxView x:Name="boxState"
                         VerticalOptions="Fill"
                         HorizontalOptions="EndAndExpand"
                         WidthRequest="5"
                         CornerRadius="5" />
            </StackLayout>
        </Frame>
    </ContentView.Content>
</ContentView>