sharee.bike-App/ShareeSharedGuiLib/View/RunningProcessView.xaml
2023-07-04 11:06:38 +02:00

63 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentView
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ShareeSharedGuiLib.View.RunningProcessView">
<ContentView.Content>
<!--Grid for different Opacity values-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--Background White, half transparent-->
<Frame
Grid.Row="0"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
BackgroundColor="Gray"
Opacity=".80"
HasShadow="False"
CornerRadius="0"/>
<!--Show spinner and info text-->
<!--Background White-->
<Frame
Grid.Row="0"
WidthRequest="240"
HorizontalOptions="Center"
VerticalOptions="Center"
BackgroundColor="White"
Padding="10"
HasShadow="False"
CornerRadius="10">
<StackLayout Orientation="Vertical">
<!--Spinner-->
<ActivityIndicator
IsRunning="{Binding IsProcessWithRunningProcessView}"
Scale="2"
VerticalOptions="Center"
HorizontalOptions="Center"
Margin="20"
Color="{x:DynamicResource primary-back-title-color}"/>
<!--Info text-->
<Label
TextType="Html"
Text="{Binding StatusInfoText}"
FontSize="Small"
WidthRequest="200"
HorizontalOptions="CenterAndExpand"
HorizontalTextAlignment="Center"
Padding="0"/>
</StackLayout>
</Frame>
</Grid>
</ContentView.Content>
</ContentView>