Skip to content

Instantly share code, notes, and snippets.

@codemillmatt
Created September 22, 2018 00:05
Show Gist options
  • Save codemillmatt/2387b712e2c8d42680f1ae641c29d92b to your computer and use it in GitHub Desktop.
Save codemillmatt/2387b712e2c8d42680f1ae641c29d92b to your computer and use it in GitHub Desktop.
<ContentPage.Content>
<ScrollView>
<FlexLayout
AlignItems="Start"
AlignContent="Start"
Wrap="Wrap">
<Image Source="buns.png" FlexLayout.Basis="100%" />
<Label Text="{Binding Name}" HorizontalTextAlignment="Center" TextColor="#01487E"
FontAttributes="Bold" FontSize="Large" Margin="10, 10" />
<BoxView FlexLayout.Basis="100%" HeightRequest="0" />
<Label Text="Ingredients" FontAttributes="Bold" FontSize="Medium" TextColor="#EE3F60"
Margin="10,10" HorizontalOptions="FillAndExpand" />
<BoxView FlexLayout.Basis="100%" HeightRequest="0" />
<Label Text="{Binding Ingredients}" Margin="10,10" FontSize="Small" />
<BoxView FlexLayout.Basis="100%" HeightRequest="0" />
<Label Text="Directions" FontAttributes="Bold" FontSize="Medium" TextColor="#EE3F60"
Margin="10,10" HorizontalOptions="FillAndExpand" />
<BoxView FlexLayout.Basis="100%" HeightRequest="0" />
<Label Text="{Binding Directions}" Margin="10,10" FontSize="Small" />
</FlexLayout>
</ScrollView>
</ContentPage.Content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment