sharee.bike-App/ShareeSharedGuiLib/View/RunningProcessView.xaml

64 lines
1.5 KiB
Text
Raw Normal View History

2022-09-16 11:19:46 +02:00
<?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">
2022-12-07 16:54:52 +01:00
<ContentView.Content>
2022-09-16 11:19:46 +02:00
<!--Grid for different Opacity values-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--Background White, half transparent-->
<Frame
Grid.Row="0"
2022-12-07 16:54:52 +01:00
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
BackgroundColor="Gray"
Opacity=".80"
2023-07-04 11:06:38 +02:00
HasShadow="False"
2022-12-07 16:54:52 +01:00
CornerRadius="0"/>
2022-09-16 11:19:46 +02:00
<!--Show spinner and info text-->
2022-12-07 16:54:52 +01:00
<!--Background White-->
<Frame
Grid.Row="0"
WidthRequest="240"
2022-09-16 11:19:46 +02:00
HorizontalOptions="Center"
2022-12-07 16:54:52 +01:00
VerticalOptions="Center"
BackgroundColor="White"
Padding="10"
2023-07-04 11:06:38 +02:00
HasShadow="False"
2022-12-07 16:54:52 +01:00
CornerRadius="10">
2022-09-16 11:19:46 +02:00
2022-12-07 16:54:52 +01:00
<StackLayout Orientation="Vertical">
<!--Spinner-->
<ActivityIndicator
2023-01-18 14:22:51 +01:00
IsRunning="{Binding IsProcessWithRunningProcessView}"
2022-12-07 16:54:52 +01:00
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"/>
2022-09-16 11:19:46 +02:00
2022-12-07 16:54:52 +01:00
</StackLayout>
</Frame>
</Grid>
2022-09-16 11:19:46 +02:00
</ContentView.Content>
</ContentView>