end my-list view

pull/34/head
Maxime BATISTA 2 years ago
parent a28c47c21b
commit 71973cdff8

@ -35,24 +35,32 @@
<!-- Favorite items --> <!-- Favorite items -->
<ScrollView <ScrollView
Grid.Row="1"> Grid.Row="1">
<FlexLayout <VerticalStackLayout
JustifyContent="Center" Padding="30, 0, 30, 0"
AlignItems="Start" Spacing="12">
AlignContent="Start"
Direction="Row"
Wrap="Wrap">
<views:StoredRecipeView Margin="5" Note="4.5" Title="Spaghetti Bolognese"/> <views:StoredRecipeView Note="4.5" Title="Spaghetti Bolognese"/>
<views:StoredRecipeView Margin="5" Note="3" Title="Chickend Curry"/> <views:StoredRecipeView Note="3" Title="Chickend Curry"/>
<views:StoredRecipeView Margin="5" Note="0.2" Title="Beef Stroganoff"/> <views:StoredRecipeView Note="0.2" Title="Beef Stroganoff"/>
<views:StoredRecipeView Margin="5" Note="1.6" Title="Fish And Ships" /> <views:StoredRecipeView Note="1.6" Title="Fish And Ships" />
<views:StoredRecipeView Margin="5" Note="5" Title="Caesar Salad"/> <views:StoredRecipeView Note="5" Title="Caesar Salad"/>
<views:StoredRecipeView Margin="5" Note="3.5" Title="Vegetables"/> <views:StoredRecipeView Note="3.5" Title="Vegetables"/>
<views:StoredRecipeView Margin="5" Note="4.6" Title="Guacamole"/> <views:StoredRecipeView Note="4.6" Title="Guacamole"/>
<views:StoredRecipeView Margin="5" Note="4" Title="Pad Thai"/> <views:StoredRecipeView Note="4" Title="Pad Thai"/>
<views:StoredRecipeView Margin="5" Note="3" Title="French Toast"/> <views:StoredRecipeView Note="3" Title="French Toast"/>
<views:StoredRecipeView Margin="5" Note="2" Title="Margherita Pizza"/> <views:StoredRecipeView Note="2" Title="Margherita Pizza"/>
</FlexLayout> </VerticalStackLayout>
</ScrollView> </ScrollView>
<!-- Footer button -->
<Border
Margin="20, 0, 20, 5"
Grid.Row="2"
Style="{StaticResource SecondaryBorder}">
<Button
Style="{StaticResource UserButton}"
BackgroundColor="{StaticResource Selected}"
Text="Show Ingredient List"/>
</Border>
</Grid> </Grid>
</ContentPage> </ContentPage>

@ -11,7 +11,7 @@
<Grid <Grid
BackgroundColor="{StaticResource BackgroundSecondary}" BackgroundColor="{StaticResource BackgroundSecondary}"
Padding="10" Padding="10"
MinimumHeightRequest="175" MinimumHeightRequest="250"
MinimumWidthRequest="150" MinimumWidthRequest="150"
RowDefinitions="*, Auto"> RowDefinitions="*, Auto">
<Border <Border
@ -27,29 +27,32 @@
HorizontalOptions="End" HorizontalOptions="End"
Margin="0, 0, 15, 2"> Margin="0, 0, 15, 2">
<Image <Image
WidthRequest="10" WidthRequest="15"
Source="star_full.svg"/> Source="star_full.svg"/>
<Image <Image
WidthRequest="10" WidthRequest="15"
Source="star_full.svg"/> Source="star_full.svg"/>
<Image <Image
WidthRequest="10" WidthRequest="15"
Source="star_full.svg"/> Source="star_full.svg"/>
<Image <Image
WidthRequest="10" WidthRequest="15"
Source="star_full.svg"/> Source="star_full.svg"/>
<Image <Image
WidthRequest="10" WidthRequest="15"
Source="star_full.svg"/> Source="star_full.svg"/>
</HorizontalStackLayout> </HorizontalStackLayout>
</Grid> </Grid>
</Border> </Border>
<VerticalStackLayout Grid.Row="1"> <VerticalStackLayout
HorizontalOptions="Start"
Grid.Row="1">
<Label <Label
TextColor="{StaticResource TextColorPrimary}" TextColor="{StaticResource TextColorPrimary}"
x:Name="TitleLabel"/> x:Name="TitleLabel"/>
<views:CounterView/> <Grid></Grid>
<views:CounterView CounterText="pers"/>
</VerticalStackLayout> </VerticalStackLayout>
</Grid> </Grid>
</Border> </Border>

Loading…
Cancel
Save