89 lines
4.2 KiB
Plaintext
89 lines
4.2 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||
|
x:Class="MauiApp1.RecognitionForFiles">
|
||
|
<ScrollView>
|
||
|
<VerticalStackLayout
|
||
|
Spacing="25"
|
||
|
Padding="15,15"
|
||
|
VerticalOptions="Start">
|
||
|
<StackLayout>
|
||
|
<Grid ColumnSpacing="5" RowSpacing="5">
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="*" />
|
||
|
<ColumnDefinition Width="80" />
|
||
|
<ColumnDefinition Width="120" />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="40" />
|
||
|
<RowDefinition Height="15" />
|
||
|
<RowDefinition Height="*" />
|
||
|
<RowDefinition Height="*" />
|
||
|
</Grid.RowDefinitions>
|
||
|
<Label Text="models not checked" Grid.Row="0" Grid.Column="0"
|
||
|
x:Name="ModelStatusLabel"
|
||
|
VerticalTextAlignment="Center" HorizontalTextAlignment="Start"/>
|
||
|
<Button Grid.Row="0" Grid.Column="1"
|
||
|
x:Name="BtnDownLoadCheck"
|
||
|
Text="Check"
|
||
|
SemanticProperties.Hint="Counts the number of times you click"
|
||
|
Clicked="OnDownLoadCheckClicked"
|
||
|
HorizontalOptions="Center" />
|
||
|
<Button Grid.Row="0" Grid.Column="2"
|
||
|
x:Name="BtnDownLoadModels"
|
||
|
Text="Download"
|
||
|
SemanticProperties.Hint="Counts the number of times you click"
|
||
|
Clicked="OnDownLoadModelsClicked"
|
||
|
HorizontalOptions="EndAndExpand" />
|
||
|
<Label Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3"
|
||
|
x:Name="DownloadProgressLabel"
|
||
|
Text="" IsVisible="False"
|
||
|
BackgroundColor="White"
|
||
|
HorizontalOptions="FillAndExpand"
|
||
|
HorizontalTextAlignment="Start"
|
||
|
TextColor="Red"/>
|
||
|
<ProgressBar IsVisible="False" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3"
|
||
|
x:Name="DownloadProgressBar" HorizontalOptions="FillAndExpand" />
|
||
|
</Grid>
|
||
|
<Label Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3"
|
||
|
x:Name="DownloadResultsLabel"
|
||
|
Text="" IsVisible="False"
|
||
|
BackgroundColor="White"
|
||
|
TextColor="Red"/>
|
||
|
<Grid ColumnSpacing="5" RowSpacing="5">
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="4*" />
|
||
|
<ColumnDefinition Width="8*" />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="40" />
|
||
|
</Grid.RowDefinitions>
|
||
|
<Button Grid.Row="0" Grid.Column="0"
|
||
|
x:Name="BtnRecognitionExample"
|
||
|
Text="Example"
|
||
|
SemanticProperties.Hint="Counts the number of times you click"
|
||
|
Clicked="OnBtnRecognitionExampleClicked"
|
||
|
HorizontalOptions="FillAndExpand" />
|
||
|
<Button Grid.Row="0" Grid.Column="1"
|
||
|
x:Name="BtnRecognitionFiles"
|
||
|
Text="Recognition Files"
|
||
|
SemanticProperties.Hint="Counts the number of times you click"
|
||
|
Clicked="OnBtnRecognitionFilesClicked"
|
||
|
HorizontalOptions="FillAndExpand" />
|
||
|
</Grid>
|
||
|
</StackLayout>
|
||
|
<Label FlowDirection="MatchParent"
|
||
|
Text="Display recognition results"
|
||
|
SemanticProperties.HeadingLevel="Level2"
|
||
|
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
|
||
|
FontSize="15"
|
||
|
Background="#F6F8F6"
|
||
|
Padding="10,10,10,10"
|
||
|
x:Name="AsrResults"
|
||
|
HorizontalOptions="FillAndExpand"
|
||
|
BackgroundColor="White"
|
||
|
TextColor="Red" />
|
||
|
</VerticalStackLayout>
|
||
|
</ScrollView>
|
||
|
</ContentPage>
|