Version 3.0.353

This commit is contained in:
Anja 2022-12-07 16:54:52 +01:00
parent 5ea2e3b0ca
commit 85321580df
57 changed files with 1421 additions and 888 deletions

View file

@ -33,6 +33,9 @@
<DependentUpon>RunningProcessView.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)View\RunningProcessViewBay.xaml.cs">
<DependentUpon>RunningProcessViewBay.xaml</DependentUpon>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)View\VersionNumberView.xaml.cs">
<DependentUpon>VersionNumberView.xaml</DependentUpon>
</Compile>
@ -58,4 +61,10 @@
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)View\RunningProcessViewBay.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
</Project>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:sharedGui="clr-namespace:ShareeSharedGuiLib.View"
@ -10,12 +10,14 @@
Text="{x:Static resources:AppResources.MarkingDriveBatteryTitel}"/>
<sharedGui:BarLevelView
x:Name="BarLevelElement"
HorizontalOptions="CenterAndExpand"
Current="{Binding CurrentText, Mode=TwoWay}"
Maximum="{Binding MaximumText}"/>
<Stepper
x:Name="BarLevelStepper"
HorizontalOptions="CenterAndExpand"
Value ="{Binding CurrentText, Mode=TwoWay}"
Maximum="{Binding MaximumText}"/>
</StackLayout>
</ContentView.Content>
</ContentView>
</ContentView>

View file

@ -10,11 +10,13 @@
WidthRequest="50"
HeightRequest="30"
Aspect="AspectFit"
HorizontalOptions="CenterAndExpand"
IsVisible="{Binding IsBatteryChargeLevelImageVisible}"
Source="{Binding BatteryChargeLevelImageSourceString}"/>
<!-- Text describing filling level batteries with 1...4 and 6..N bars -->
<Label
x:Name="BarLevelLabel"
HorizontalOptions="CenterAndExpand"
Text="{Binding BatteryChargeLevelBarsText}"
IsVisible="{Binding IsBatteryChargeLevelLabelVisible}"/>
</StackLayout>

View file

@ -3,46 +3,59 @@
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ShareeSharedGuiLib.View.RunningProcessView">
<ContentView.Content>
<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"/>
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
BackgroundColor="Gray"
Opacity=".80"
CornerRadius="0"/>
<!--Show spinner and info text-->
<!--Spinner-->
<ActivityIndicator
Grid.Row="0"
IsRunning="{Binding IsRunning}"
IsVisible="{Binding IsRunning}"
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"
<!--Background White-->
<Frame
Grid.Row="0"
WidthRequest="240"
HorizontalOptions="Center"
HorizontalTextAlignment="Center"
Padding="0,0,0,10"/>
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>

View file

@ -0,0 +1,48 @@
<?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 IsRunning}"
IsVisible="{Binding IsRunning}"
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>

View file

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ShareeSharedGuiLib.View
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class RunningProcessViewBay : ContentView
{
public RunningProcessViewBay()
{
InitializeComponent();
}
}
}