pull/29/head
Maxime BATISTA 2 years ago
parent 0d9febcc04
commit b9f79c69f6

@ -16,15 +16,15 @@
Margin="20,35,20,20" Margin="20,35,20,20"
> >
<Border <Border
Style="{StaticResource SecondaryBorder}" Style="{StaticResource SecondaryBorder}"
BackgroundColor="{StaticResource BackgroundSecondary}" BackgroundColor="{StaticResource BackgroundSecondary}"
StrokeShape="RoundRectangle 1500" StrokeShape="RoundRectangle 1500"
> >
<ImageButton Source="default_profile_picture.png" <ImageButton
WidthRequest="65" Source="default_profile_picture.png"
HeightRequest="65"/> WidthRequest="65"
HeightRequest="65"/>
</Border> </Border>
</FlexLayout> </FlexLayout>
<Grid <Grid
@ -56,26 +56,18 @@
<VerticalStackLayout <VerticalStackLayout
Grid.Row="2"> Grid.Row="2">
<FlexLayout <FlexLayout
JustifyContent="SpaceBetween" JustifyContent="SpaceBetween"
AlignItems="Center" AlignItems="Center"
AlignContent="Stretch"
Margin="20" Margin="20"
> HeightRequest="30">
<Label Text="Popular recipe" <Label
HeightRequest="30" Text="Popular recipe"
FontSize="Title" Style="{StaticResource h2}"/>
FontAttributes="Bold"
Margin="5,0,0,0" <Label
> Text="Show All"
TextColor="{StaticResource TextColorSecondary}"/>
</Label>
<Label Text="Show All"
Margin="0,5,5,0"
HeightRequest="25"
TextColor="Grey"
>
</Label>
</FlexLayout> </FlexLayout>
<ScrollView <ScrollView
@ -95,38 +87,36 @@
<VerticalStackLayout <VerticalStackLayout
Grid.Row="3"> Grid.Row="3">
<FlexLayout <FlexLayout
JustifyContent="SpaceBetween" JustifyContent="SpaceBetween"
AlignItems="Center" AlignItems="Center"
AlignContent="Stretch"
Margin="20,0,20,20" Margin="20,0,20,20"
HeightRequest="30"
> >
<Label Text="Recommended for you" <Label
Text="Recommended for you"
Style="{StaticResource h2}"/> Style="{StaticResource h2}"/>
<Label Text="Show All" <Label
Margin="0,5,5,0" Text="Show All"
HeightRequest="25" TextColor="{StaticResource TextColorSecondary}"/>
TextColor="Grey"
>
</Label>
</FlexLayout> </FlexLayout>
<ScrollView> <ScrollView>
<FlexLayout <FlexLayout
JustifyContent="Center" JustifyContent="Center"
AlignItems="Start" AlignItems="Start"
AlignContent="Start" AlignContent="Start"
Direction="Row" Direction="Row"
Wrap="Wrap"> Wrap="Wrap">
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
<views:RecipeView Margin="2.5"/> <views:RecipeView Margin="2.5"/>
</FlexLayout> </FlexLayout>
</ScrollView> </ScrollView>
</VerticalStackLayout> </VerticalStackLayout>
</Grid> </Grid>

Loading…
Cancel
Save