mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 18:46:30 +01:00
64 lines
1.7 KiB
XML
64 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="TINK.View.MyBikes.MyBikesPage"
|
|
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
|
xmlns:sharedGui="clr-namespace:ShareeSharedGuiLib.View"
|
|
xmlns:local_bike="clr-namespace:TINK.View.Bike">
|
|
|
|
<Shell.TitleView>
|
|
<Grid ColumnDefinitions="Auto, 1*">
|
|
<Label Style="{StaticResource Label-Navbar}"
|
|
Text="{x:Static resources:AppResources.MarkingMyBikes}"/>
|
|
</Grid>
|
|
</Shell.TitleView>
|
|
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<local_bike:BikeViewCellTemplateSelector x:Key="bikeTemplateSelector"/>
|
|
</ResourceDictionary>
|
|
</ContentPage.Resources>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Frame>
|
|
|
|
<!--Grid for Bike(s) view and Running process in same row-->
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!--Bike(s) view-->
|
|
<StackLayout Grid.Row="0"
|
|
VerticalOptions="CenterAndExpand"
|
|
Orientation="Vertical">
|
|
|
|
<!--Bike(s)-->
|
|
<ListView
|
|
x:Name="MyBikesListView"
|
|
SelectionMode="None"
|
|
SelectedItem="{Binding SelectedBike}"
|
|
IsEnabled="{Binding IsIdle}"
|
|
IsVisible="{Binding IsBikesListVisible}"
|
|
HasUnevenRows="True"
|
|
ItemTemplate="{StaticResource bikeTemplateSelector}"/>
|
|
|
|
<!--No Bikes-->
|
|
<Label
|
|
IsVisible="{Binding IsNoBikesOccupiedVisible}"
|
|
Text="{Binding NoBikesOccupiedText}"/>
|
|
|
|
</StackLayout>
|
|
|
|
<!--While process is running-->
|
|
<sharedGui:RunningProcessView
|
|
Grid.Row="0"
|
|
IsVisible="{Binding IsRunning}"/>
|
|
|
|
</Grid>
|
|
|
|
</Frame>
|
|
|
|
</ContentPage.Content>
|
|
</ContentPage>
|