mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-06 02:56:32 +01:00
77 lines
2.3 KiB
Text
77 lines
2.3 KiB
Text
|
<?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:conv="clr-namespace:TINK.View"
|
||
|
xmlns:rental_process="clr-namespace:TINK.ViewModel.Bikes;assembly=TINKLib"
|
||
|
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||
|
x:Class="ShareeSharedGuiLib.View.Bike.RentalProcess.RentalProcessStepBarFinished">
|
||
|
|
||
|
<ContentView.Resources>
|
||
|
<conv:StringNotNullOrEmptyToVisibleConverter x:Key="StringNotNullOrEmpty_Converter"/>
|
||
|
<x:String x:Key="check"></x:String>
|
||
|
<x:String x:Key="xmark"></x:String>
|
||
|
</ContentView.Resources>
|
||
|
|
||
|
<ContentView.Content>
|
||
|
|
||
|
<!-- Progress bar -->
|
||
|
<Grid
|
||
|
ColumnDefinitions="1*,80,40"
|
||
|
RowDefinitions="15,50,15"
|
||
|
RowSpacing="0">
|
||
|
|
||
|
<Frame
|
||
|
Grid.Column="0"
|
||
|
Grid.ColumnSpan="3"
|
||
|
Grid.Row="1"
|
||
|
BackgroundColor="{DynamicResource process-step-succeeded}"
|
||
|
Padding="0">
|
||
|
|
||
|
<Label
|
||
|
Padding="40,0,0,0"
|
||
|
VerticalOptions="Center"
|
||
|
TextColor="White"
|
||
|
FontAttributes="Bold"
|
||
|
Text="">
|
||
|
<Label.Triggers>
|
||
|
<MultiTrigger TargetType="Label">
|
||
|
<MultiTrigger.Conditions>
|
||
|
<BindingCondition Binding="{Binding RentalProcess.State}" Value="{x:Static rental_process:CurrentRentalProcess.CloseLock}" />
|
||
|
</MultiTrigger.Conditions>
|
||
|
<Setter Property="Text" Value="{x:Static resources:AppResources.StatusTextLockClosed}" />
|
||
|
</MultiTrigger>
|
||
|
<MultiTrigger TargetType="Label">
|
||
|
<MultiTrigger.Conditions>
|
||
|
<BindingCondition Binding="{Binding RentalProcess.State}" Value="{x:Static rental_process:CurrentRentalProcess.EndRental}" />
|
||
|
</MultiTrigger.Conditions>
|
||
|
<Setter Property="Text" Value="{x:Static resources:AppResources.StatusTextRentalEnded}" />
|
||
|
</MultiTrigger>
|
||
|
</Label.Triggers>
|
||
|
</Label>
|
||
|
|
||
|
</Frame>
|
||
|
|
||
|
<Frame
|
||
|
Grid.Column="1"
|
||
|
Grid.Row="0"
|
||
|
Grid.RowSpan="3"
|
||
|
BackgroundColor="{DynamicResource process-step-succeeded}"
|
||
|
BorderColor="White"
|
||
|
CornerRadius="40">
|
||
|
<Image>
|
||
|
<Image.Source>
|
||
|
<FontImageSource
|
||
|
Glyph="{StaticResource check}"
|
||
|
FontFamily="FA-S"
|
||
|
Size="Large"
|
||
|
Color="White"/>
|
||
|
</Image.Source>
|
||
|
</Image>
|
||
|
</Frame>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
</ContentView.Content>
|
||
|
|
||
|
</ContentView>
|