Design Challenge 3"
Main Page.Xaml:
Main Page.Xaml:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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=" • Focus" FontSize="Micro" /> | |
<Label Text=" • Devortion" FontSize="Micro" /> | |
<Label Text=" • Grace" FontSize="Micro"/> | |
<Label FlexLayout.Grow="1" /> | |
</StackLayout> | |
</FlexLayout> | |
</Frame> | |
</FlexLayout> | |
</ScrollView> | |
</Grid> | |
</ScrollView> | |
</ContentPage.Content> | |
</ContentPage> |
No comments:
Post a Comment