mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 23:56:26 +01:00
60 lines
2.8 KiB
Text
60 lines
2.8 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.FindBike.FindBikePage"
|
||
|
xmlns:local_bike="clr-namespace:TINK.View.Bike">
|
||
|
<ContentPage.Resources>
|
||
|
<ResourceDictionary>
|
||
|
<local_bike:BikeViewCellTemplateSelector x:Key="bikeTemplateSelector"/>
|
||
|
</ResourceDictionary>
|
||
|
</ContentPage.Resources>
|
||
|
<ContentPage.Content>
|
||
|
<Frame>
|
||
|
<StackLayout>
|
||
|
<Entry
|
||
|
Placeholder="Fahrrad-Nummer bitte hier eingeben"
|
||
|
IsVisible="{Binding IsSelectBikeVisible}"
|
||
|
MaxLength="10"
|
||
|
CursorPosition="0"
|
||
|
Text="{Binding BikeIdUserInput}">
|
||
|
</Entry>
|
||
|
<Button
|
||
|
Text="Rad Wählen"
|
||
|
IsEnabled="{Binding IsSelectBikeEnabled}"
|
||
|
IsVisible="{Binding IsSelectBikeVisible}"
|
||
|
Command="{Binding OnSelectBikeRequest}">
|
||
|
</Button>
|
||
|
<ListView
|
||
|
x:Name="FindBikeListView"
|
||
|
SelectionMode="None"
|
||
|
SelectedItem="{Binding SelectedBike}"
|
||
|
IsEnabled="{Binding IsIdle}"
|
||
|
IsVisible="{Binding IsBikesListVisible}"
|
||
|
HasUnevenRows="True"
|
||
|
ItemTemplate="{StaticResource bikeTemplateSelector}"/>
|
||
|
<StackLayout
|
||
|
VerticalOptions="EndAndExpand"
|
||
|
Orientation="Horizontal">
|
||
|
<Label
|
||
|
HeightRequest="20"
|
||
|
Text="{Binding StatusInfoText}"
|
||
|
VerticalOptions="Center"
|
||
|
HorizontalOptions="FillAndExpand"/>
|
||
|
<ActivityIndicator IsRunning="{Binding IsRunning}"
|
||
|
IsVisible="{Binding IsRunning}"
|
||
|
HeightRequest="20"
|
||
|
VerticalOptions="CenterAndExpand"
|
||
|
HorizontalOptions="End">
|
||
|
<ActivityIndicator.WidthRequest>
|
||
|
<OnPlatform x:TypeArguments="x:Double" iOS="40" Android="40" WinPhone="40" />
|
||
|
</ActivityIndicator.WidthRequest>
|
||
|
<ActivityIndicator.Color>
|
||
|
<OnPlatform x:TypeArguments="Color"
|
||
|
iOS="#2499CE" WinPhone="#2499CE" />
|
||
|
</ActivityIndicator.Color>
|
||
|
</ActivityIndicator>
|
||
|
</StackLayout>
|
||
|
</StackLayout>
|
||
|
</Frame>
|
||
|
</ContentPage.Content>
|
||
|
</ContentPage>
|