|
|
@ -1,7 +1,8 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
x:Class="ShoopNCook.Views.RecipeView">
|
|
|
|
x:Class="ShoopNCook.Views.RecipeView"
|
|
|
|
|
|
|
|
Margin="4,2">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Border
|
|
|
@ -12,7 +13,9 @@
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
Padding="10"
|
|
|
|
Padding="10"
|
|
|
|
MinimumHeightRequest="175"
|
|
|
|
MinimumHeightRequest="175"
|
|
|
|
|
|
|
|
MaximumHeightRequest="175"
|
|
|
|
MinimumWidthRequest="150"
|
|
|
|
MinimumWidthRequest="150"
|
|
|
|
|
|
|
|
MaximumWidthRequest="150"
|
|
|
|
RowDefinitions="*, Auto">
|
|
|
|
RowDefinitions="*, Auto">
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
<TapGestureRecognizer Tapped="OnRecipeTapped"/>
|
|
|
|
<TapGestureRecognizer Tapped="OnRecipeTapped"/>
|
|
|
@ -23,7 +26,12 @@
|
|
|
|
StrokeShape="RoundRectangle 20"
|
|
|
|
StrokeShape="RoundRectangle 20"
|
|
|
|
BackgroundColor="{StaticResource ImageBackground}">
|
|
|
|
BackgroundColor="{StaticResource ImageBackground}">
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<Image x:Name="RecipeImage" />
|
|
|
|
<Image x:Name="RecipeImage"
|
|
|
|
|
|
|
|
Aspect="AspectFill"
|
|
|
|
|
|
|
|
MinimumHeightRequest="155"
|
|
|
|
|
|
|
|
MinimumWidthRequest="130"
|
|
|
|
|
|
|
|
MaximumHeightRequest="155"
|
|
|
|
|
|
|
|
MaximumWidthRequest="130"/>
|
|
|
|
<HorizontalStackLayout
|
|
|
|
<HorizontalStackLayout
|
|
|
|
x:Name="Stars"
|
|
|
|
x:Name="Stars"
|
|
|
|
VerticalOptions="End"
|
|
|
|
VerticalOptions="End"
|
|
|
|