mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-13 22:06:29 +01:00
68 lines
1.9 KiB
Text
68 lines
1.9 KiB
Text
|
<?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.SelectBike.SelectBikePage"
|
||
|
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||
|
xmlns:local_bike="clr-namespace:TINK.View.Bike"
|
||
|
xmlns:sharedGui="clr-namespace:ShareeSharedGuiLib.View">
|
||
|
|
||
|
<Shell.TitleView>
|
||
|
<Grid ColumnDefinitions="Auto, 1*">
|
||
|
<Label Style="{StaticResource Label-Navbar}"
|
||
|
Text="{x:Static resources:AppResources.MarkingSelectBike}"/>
|
||
|
</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>
|
||
|
|
||
|
<!--Search bike-->
|
||
|
<StackLayout Grid.Row="0">
|
||
|
<Entry
|
||
|
Placeholder="{x:Static resources:AppResources.PlaceholderSelectBike}"
|
||
|
IsVisible="{Binding IsSelectBikeVisible}"
|
||
|
MaxLength="10"
|
||
|
CursorPosition="0"
|
||
|
Text="{Binding BikeIdUserInput}"/>
|
||
|
|
||
|
<Button
|
||
|
Text="{x:Static resources:AppResources.MarkingSelectBike}"
|
||
|
IsEnabled="{Binding IsSelectBikeEnabled}"
|
||
|
IsVisible="{Binding IsSelectBikeVisible}"
|
||
|
Command="{Binding OnSelectBikeRequest}"/>
|
||
|
|
||
|
<ListView
|
||
|
x:Name="SelectBikeListView"
|
||
|
SelectionMode="None"
|
||
|
SelectedItem="{Binding SelectedBike}"
|
||
|
IsEnabled="{Binding IsIdle}"
|
||
|
IsVisible="{Binding IsBikesListVisible}"
|
||
|
HasUnevenRows="True"
|
||
|
ItemTemplate="{StaticResource bikeTemplateSelector}"/>
|
||
|
|
||
|
</StackLayout>
|
||
|
|
||
|
<!--While process is running-->
|
||
|
<sharedGui:RunningProcessViewBay
|
||
|
Grid.Row="0"
|
||
|
IsVisible="{Binding IsProcessWithRunningProcessView}"/>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
</Frame>
|
||
|
</ContentPage.Content>
|
||
|
</ContentPage>
|