    <ContentPage.Resources>
        <ResourceDictionary>
            <Style x:Key="labelStyle" TargetType="Label">
                <Setter Property="TextColor" Value="#a8a8a8" />
                <Setter Property="FontSize" Value="Small" />
            </Style>
            <Style x:Key="fieldStyle" TargetType="Label">
                <Setter Property="TextColor">
                    <OnPlatform x:TypeArguments="Color" iOS="Black" Android="Black" WinPhone="White" />
                </Setter>
                <Setter Property="FontSize" Value="Medium" />
            </Style>
            <Style x:Key="fieldView" TargetType="ContentView">
                <Setter Property="Padding" Value="10,0,0,0" />
            </Style>
        </ResourceDictionary>
    </ContentPage.Resources>

    <ContentPage.Content>
        <ScrollView>
            <StackLayout Orientation="Vertical">
                <StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand"  
              BackgroundColor="#545454">
                    <StackLayout Padding="10,10,10,10" HorizontalOptions="StartAndExpand">
                        <Label Text="Search Products" TextColor="White" FontAttributes="Bold"  
                FontSize="Medium" />
                        <Label x:Name="productSearchLabel" Text="Name, Category, Code, ..." Style="{StaticResource labelStyle}" />
                        <Entry x:Name="productSearchEntry" />
                    </StackLayout>
                    <StackLayout Padding="0,0,0,10" VerticalOptions="End">
                        <Button x:Name="searchProductsBtn" Text="Search" WidthRequest="185" BorderWidth="1" >
                            <!-- Set iOS colors; use defaults on other platforms -->
                            <Button.TextColor>
                                <OnPlatform x:TypeArguments="Color" iOS="White"/>
                            </Button.TextColor>
                            <Button.BorderColor>
                                <OnPlatform x:TypeArguments="Color" iOS="White"/>
                            </Button.BorderColor>
                        </Button>
                    </StackLayout>
                </StackLayout>
                <Grid>
                    <Grid.RowDefinitions>
                        <!--https://stackoverflow.com/questions/30696403/how-can-i-change-height-in-viewcell-->
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <ListView Margin="10,10,10,10" HorizontalOptions="StartAndExpand" x:Name="productsList" HasUnevenRows="True">
                        <ListView.ItemTemplate>
                            <DataTemplate>
                                <ViewCell>
                                    <!--https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/customizing-cell-appearance/#Custom_Cells-->
                                    <StackLayout Padding="10,10,10,10" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
                                        <Label Text="Id" Style="{StaticResource labelStyle}" />
                                        <ContentView Style="{StaticResource fieldView}">
                                            <Label Text="{Binding Id}" Style="{StaticResource fieldStyle}" />
                                        </ContentView>

                                        <Label Text="Name" Style="{StaticResource labelStyle}" />
                                        <ContentView Style="{StaticResource fieldView}">
                                            <Label x:Name="productNameLabel" Text="{Binding Name}" Style="{StaticResource fieldStyle}" />
                                        </ContentView>
                                        <Label Text="Price" Style="{StaticResource labelStyle}" />
                                        <ContentView Style="{StaticResource fieldView}">
                                            <Label x:Name="productPriceLabel" Text="{Binding Price}" Style="{StaticResource fieldStyle}" />
                                        </ContentView>
                                    </StackLayout>
                                </ViewCell>
                            </DataTemplate>
                        </ListView.ItemTemplate>
                    </ListView>
                </Grid>

            </StackLayout>
        </ScrollView>
    </ContentPage.Content>