sharee.bike-App/ShareeSharedGuiLib/View/RunningProcessViewBay.xaml
2023-01-18 14:22:51 +01:00

48 lines
1.2 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.RunningProcessViewBay">
<ContentView.Content>
<!--Grid for different Opacity values-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!--Background White, half transparent-->
<Frame
Grid.Row="0"
Grid.RowSpan="2"
BackgroundColor="White"
Opacity=".75"
CornerRadius="10"/>
<!--Show spinner and info text-->
<!--Spinner-->
<ActivityIndicator
Grid.Row="0"
IsRunning="{Binding IsProcessWithRunningProcessView}"
IsVisible="{Binding IsProcessWithRunningProcessView}"
Scale="2"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand"
Color="{x:DynamicResource primary-back-title-color}"/>
<!--Info text-->
<Label
Grid.Row="1"
TextType="Html"
Text="{Binding StatusInfoText}"
FontSize="Small"
HorizontalOptions="Center"
HorizontalTextAlignment="Center"
Padding="0,0,0,10"/>
</Grid>
</ContentView.Content>
</ContentView>