mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 15:46:29 +01:00
68 lines
No EOL
3.1 KiB
XML
68 lines
No EOL
3.1 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"
|
|
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
|
x:Class="TINK.View.FindBike.FindBikePage"
|
|
xmlns:local_bike="clr-namespace:TINK.View.Bike">
|
|
<Shell.TitleView>
|
|
<Grid ColumnDefinitions="Auto, 1*">
|
|
<Label Style="{StaticResource Label-Navbar}"
|
|
Text="{x:Static resources:AppResources.MarkingFindBike}"/>
|
|
</Grid>
|
|
</Shell.TitleView>
|
|
<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="24"
|
|
Text="{Binding StatusInfoText}"
|
|
FontSize="Small"
|
|
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"
|
|
Android="#009BDB" iOS="#009BDB" WinPhone="#009BDB" />
|
|
</ActivityIndicator.Color>
|
|
</ActivityIndicator>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</Frame>
|
|
</ContentPage.Content>
|
|
</ContentPage> |