sharee.bike-App/ShareeSharedGuiLib/View/RunningProcessView.xaml
2022-12-07 16:54:52 +01:00

62 lines
1.4 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"
CornerRadius="0"/>
<!--Show spinner and info text-->
<!--Background White-->
<Frame
Grid.Row="0"
WidthRequest="240"
HorizontalOptions="Center"
VerticalOptions="Center"
BackgroundColor="White"
Padding="10"
CornerRadius="10">
<StackLayout Orientation="Vertical">
<!--Spinner-->
<ActivityIndicator
IsRunning="{Binding IsRunning}"
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>