Design Challenge 4"
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.NewForms3"> | |
<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" /> | |
<StackLayout HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="1" Padding="15,3,0,0"> | |
<FlexLayout HorizontalOptions="Center" VerticalOptions="Center"> | |
<Frame WidthRequest="250" | |
HeightRequest="500" > | |
<FlexLayout Direction="Column"> | |
<StackLayout Padding="0,0" HorizontalOptions="Start" VerticalOptions="Start"> | |
<Grid RowSpacing="1" ColumnSpacing="1" > | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*"/> | |
<ColumnDefinition Width="*"/> | |
</Grid.ColumnDefinitions> | |
<Button Text="-1-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="TakeImage" | |
Grid.Row="0" | |
Grid.Column="0" | |
/> | |
<Button Text="-2-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="Upload.png" | |
Grid.Row="0" | |
Grid.Column="1" | |
/> | |
</Grid> | |
</StackLayout> | |
<BoxView HeightRequest="1" BackgroundColor="Silver"/> | |
<StackLayout Padding="0,0" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> | |
<Grid RowSpacing="1" ColumnSpacing="1" > | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*"/> | |
<ColumnDefinition Width="*"/> | |
</Grid.ColumnDefinitions> | |
<Button Text="-3-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="Analyze" | |
Grid.Row="0" | |
Grid.Column="0" | |
/> | |
<Button Text="-4-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="Listen" | |
Grid.Row="0" | |
Grid.Column="1" | |
/> | |
</Grid> | |
</StackLayout> | |
<BoxView HeightRequest="1" BackgroundColor="Silver"/> | |
<StackLayout Padding="0,0" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> | |
<Grid RowSpacing="1" ColumnSpacing="1" > | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*"/> | |
<ColumnDefinition Width="*"/> | |
</Grid.ColumnDefinitions> | |
<Button Text="-5-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="TakeImage" | |
Grid.Row="0" | |
Grid.Column="0" | |
/> | |
<Button Text="-6-" | |
TextColor="Black" | |
FontSize="Small" | |
BackgroundColor="White" | |
Image="Listen" | |
Grid.Row="0" | |
Grid.Column="1" | |
/> | |
</Grid> | |
</StackLayout> | |
</FlexLayout> | |
</Frame> | |
</FlexLayout> | |
</StackLayout> | |
</Grid> | |
</ScrollView> | |
</ContentPage.Content> | |
</ContentPage> |
No comments:
Post a Comment