<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="PlantBox.Client.Forms.Controls.StatusBar.StatusBar">
    <ContentView.Content>
        <StackLayout HorizontalOptions="FillAndExpand"
                     VerticalOptions="FillAndExpand">
            <Label x:Name="label"
                   HorizontalOptions="CenterAndExpand"
                   VerticalOptions="Start"
                   FontSize="Medium" />
            <AbsoluteLayout FlexLayout.Grow="1"
                            HorizontalOptions="FillAndExpand"
                            VerticalOptions="FillAndExpand">
                <BoxView x:Name="BackgroundBar"
                         AbsoluteLayout.LayoutBounds="0, 1, 1, 1"
                         AbsoluteLayout.LayoutFlags="All" />
                <BoxView x:Name="ForegroundBar"
                         AbsoluteLayout.LayoutBounds="0, 1, 1, .5"
                         AbsoluteLayout.LayoutFlags="All" />
                <BoxView x:Name="UpperBoundBar"
                         AbsoluteLayout.LayoutBounds="0, 0.2, 1, 5" />
                <BoxView x:Name="LowerBoundBar"
                         AbsoluteLayout.LayoutBounds="0, 0.8, 1, 5" />
            </AbsoluteLayout>
            <Image x:Name="image"
                   HorizontalOptions="CenterAndExpand"
                   VerticalOptions="End"
                   Margin="2"/>
        </StackLayout>
    </ContentView.Content>
</ContentView>