parent
4845c930a6
commit
8090b88135
@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="ShoopNCook.Views.RecipeView">
|
||||||
|
|
||||||
|
|
||||||
|
<Border
|
||||||
|
StrokeShape="RoundRectangle 40"
|
||||||
|
Stroke="Transparent">
|
||||||
|
|
||||||
|
<Grid
|
||||||
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
||||||
|
Padding="10"
|
||||||
|
MinimumHeightRequest="175"
|
||||||
|
MinimumWidthRequest="150"
|
||||||
|
RowDefinitions="*, Auto, Auto">
|
||||||
|
<Border
|
||||||
|
Grid.Row="0"
|
||||||
|
Stroke="Transparent"
|
||||||
|
StrokeShape="RoundRectangle 30"
|
||||||
|
BackgroundColor="AliceBlue">
|
||||||
|
<Image/>
|
||||||
|
</Border>
|
||||||
|
|
||||||
|
<Label
|
||||||
|
Grid.Row="1"
|
||||||
|
TextColor="{StaticResource TextColorPrimary}"
|
||||||
|
Text="Recipe Name"/>
|
||||||
|
<Label
|
||||||
|
Grid.Row="2"
|
||||||
|
TextColor="{StaticResource TextColorSecondary}"
|
||||||
|
Text="Preparation time"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
|
</Border>
|
||||||
|
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace ShoopNCook.Views;
|
||||||
|
|
||||||
|
public partial class RecipeView : ContentView
|
||||||
|
{
|
||||||
|
public RecipeView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue