Wednesday, 11 July 2018

Design Challenge 3"

Main Page.Xaml:
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="NewFlex2.newpagexaml"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.UseSafeArea="true">
<ContentPage.Content>
<ScrollView>
<Grid ColumnSpacing="0" RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="AUTO" />
<RowDefinition Height="AUTO" />
<RowDefinition Height="AUTO" />
<RowDefinition Height="*" />
<RowDefinition Height="AUTO" />
</Grid.RowDefinitions>
<!-- header background -->
<Image Aspect="AspectFill" Source="HeaderBackground.png" />
<Image Aspect="Fill" Margin="0,-1,0,-1" Source="CurvedMask.png" VerticalOptions="End" />
<ScrollView Orientation="Both" Grid.Row="2" >
<FlexLayout HorizontalOptions="Center" VerticalOptions="Center">
<Frame WidthRequest="180"
HeightRequest="500">
Grid ColumnSpacing="0" RowSpacing="0">
<FlexLayout Direction="Column">
<StackLayout HorizontalOptions="End">
<Label Text="Business is state of mind" TextColor="Green" FontSize="Medium"/>
<BoxView HeightRequest="1" BackgroundColor="Gray"/>
<Label Text="A business name structure does not separate the business entity from the owner" FontSize="Small"/>
<Label Text=" &#x2022; Focus" FontSize="Micro" />
<Label Text=" &#x2022; Devortion" FontSize="Micro" />
<Label Text=" &#x2022; Grace" FontSize="Micro"/>
<Label FlexLayout.Grow="1" />
</StackLayout>
</FlexLayout>
</Frame>
</FlexLayout>
</ScrollView>
</Grid>
</ScrollView>
</ContentPage.Content>
</ContentPage>
view raw MainPage.xaml hosted with ❤ by GitHub

No comments:

Post a Comment