mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-21 12:36:28 +02:00
Version 3.0.360
This commit is contained in:
parent
5c0b2e70c9
commit
faf68061f4
160 changed files with 2114 additions and 1932 deletions
41
ShareeSharedGuiLib/View/HintForRefreshingPageView.xaml
Normal file
41
ShareeSharedGuiLib/View/HintForRefreshingPageView.xaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?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:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||||
x:Class="ShareeSharedGuiLib.View.HintForRefreshingPageView">
|
||||
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
IsVisible="{Binding IsBikesDataOutdatedLabelVisible}"
|
||||
Padding="0"
|
||||
Spacing="0"
|
||||
Margin="0">
|
||||
|
||||
<StackLayout.Triggers>
|
||||
<DataTrigger TargetType="StackLayout"
|
||||
Binding="{Binding IsBikesDataOutdatedLabelVisible}"
|
||||
Value="false">
|
||||
<Setter Property="HeightRequest" Value="0" />
|
||||
</DataTrigger>
|
||||
</StackLayout.Triggers>
|
||||
|
||||
<Image>
|
||||
<Image.Source>
|
||||
<FontImageSource
|
||||
Glyph="{StaticResource ArrowDown}"
|
||||
Color="DimGray"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"/>
|
||||
</Image.Source>
|
||||
</Image>
|
||||
|
||||
<Label
|
||||
TextColor="DimGray"
|
||||
FontSize="Small"
|
||||
Padding="5"
|
||||
Text="{x:Static resources:AppResources.MarkingDataIsFromCache}"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
</ContentView>
|
23
ShareeSharedGuiLib/View/HintForRefreshingPageView.xaml.cs
Normal file
23
ShareeSharedGuiLib/View/HintForRefreshingPageView.xaml.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ShareeSharedGuiLib.ViewModel;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace ShareeSharedGuiLib.View
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class HintForRefreshingPageView : ContentView
|
||||
{
|
||||
public HintForRefreshingPageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.BindingContext = new NotConnectedToNetViewModel();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
31
ShareeSharedGuiLib/View/NotConnectedToNetView.xaml
Normal file
31
ShareeSharedGuiLib/View/NotConnectedToNetView.xaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?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:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||||
x:Class="ShareeSharedGuiLib.View.NotConnectedToNetView">
|
||||
|
||||
<StackLayout
|
||||
BackgroundColor="{x:DynamicResource attention-color}"
|
||||
IsVisible="{Binding IsNotConnectedToNet}"
|
||||
Padding="0"
|
||||
Spacing="0"
|
||||
Margin="0">
|
||||
|
||||
<StackLayout.Triggers>
|
||||
<DataTrigger TargetType="StackLayout"
|
||||
Binding="{Binding IsNotConnectedToNet}"
|
||||
Value="false">
|
||||
<Setter Property="HeightRequest" Value="0" />
|
||||
</DataTrigger>
|
||||
</StackLayout.Triggers>
|
||||
|
||||
<Label Text="{x:Static resources:AppResources.MarkingNoNetworkConnection}"
|
||||
TextColor="White"
|
||||
FontSize="Small"
|
||||
Padding="5"
|
||||
HorizontalTextAlignment="Center"
|
||||
HorizontalOptions="CenterAndExpand"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
</ContentView>
|
25
ShareeSharedGuiLib/View/NotConnectedToNetView.xaml.cs
Normal file
25
ShareeSharedGuiLib/View/NotConnectedToNetView.xaml.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ShareeSharedGuiLib.ViewModel;
|
||||
using Xamarin.Essentials;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace ShareeSharedGuiLib.View
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class NotConnectedToNetView : ContentView, INotifyPropertyChanged
|
||||
{
|
||||
public NotConnectedToNetView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.BindingContext = new NotConnectedToNetViewModel();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue