|
|
@ -6,6 +6,7 @@ |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:viewmodels="clr-namespace:GMCabsDriverAssistantSolution.ViewModels" |
|
|
|
xmlns:models="clr-namespace:GMCabsDriverAssistant.Models" |
|
|
|
xmlns:cmp="clr-namespace:Microsoft.Maui.Controls.Compatibility;assembly=Microsoft.Maui.Controls" |
|
|
|
xmlns:UserControl="clr-namespace:GMCabsDriverAssistant.UserControl" x:DataType="viewmodels:StartRideViewModel" |
|
|
|
NavigationPage.HasBackButton="False" |
|
|
|
Title="{Binding Title}"> |
|
|
@ -24,7 +25,7 @@ |
|
|
|
Grid.Column="0" |
|
|
|
BackgroundColor="#DCDCDC"> |
|
|
|
<StackLayout> |
|
|
|
<RelativeLayout VerticalOptions="CenterAndExpand" Margin="30,30,10,10"> |
|
|
|
<cmp:RelativeLayout VerticalOptions="CenterAndExpand" Margin="30,30,10,10"> |
|
|
|
<Frame BackgroundColor="#8B0000" WidthRequest="360" Margin="20,0,0,0" CornerRadius="10" IsVisible="{Binding IsCorporate}"> |
|
|
|
<StackLayout HorizontalOptions="EndAndExpand"> |
|
|
|
<Label FontSize="20" VerticalTextAlignment="End" TextColor="White" Text="VIP" /> |
|
|
@ -37,7 +38,7 @@ |
|
|
|
<Label FontSize="20" Text="{Binding PassengerName}" TextColor="Black" FontAttributes="Bold" /> |
|
|
|
</StackLayout> |
|
|
|
</Frame> |
|
|
|
</RelativeLayout> |
|
|
|
</cmp:RelativeLayout> |
|
|
|
|
|
|
|
<Grid Margin="30,0,0,0" IsVisible="{Binding StopOver}"> |
|
|
|
<CollectionView ItemsSource="{Binding StopoverLocationsList}"> |
|
|
@ -48,7 +49,7 @@ |
|
|
|
</CollectionView.ItemsLayout> |
|
|
|
<CollectionView.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<RelativeLayout> |
|
|
|
<cmp:RelativeLayout> |
|
|
|
<StackLayout x:DataType="models:StopoverLocations" Grid.Row="0" Grid.Column="0" Orientation="Vertical" HorizontalOptions="StartAndExpand"> |
|
|
|
<Ellipse Fill="{StaticResource Primary}" Opacity="{Binding CircleColorOpecity}" |
|
|
|
WidthRequest="30" |
|
|
@ -71,7 +72,7 @@ |
|
|
|
StrokeDashOffset="6" |
|
|
|
IsVisible="{Binding IsLineVisible}"/> |
|
|
|
</StackLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</cmp:RelativeLayout> |
|
|
|
</DataTemplate> |
|
|
|
</CollectionView.ItemTemplate> |
|
|
|
</CollectionView> |
|
|
|