Minor Changes in layout
This commit is contained in:
parent
2abf0f71e7
commit
9552da9037
@ -6,6 +6,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:viewmodels="clr-namespace:GMCabsDriverAssistantSolution.ViewModels"
|
xmlns:viewmodels="clr-namespace:GMCabsDriverAssistantSolution.ViewModels"
|
||||||
xmlns:models="clr-namespace:GMCabsDriverAssistant.Models"
|
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"
|
xmlns:UserControl="clr-namespace:GMCabsDriverAssistant.UserControl" x:DataType="viewmodels:StartRideViewModel"
|
||||||
NavigationPage.HasBackButton="False"
|
NavigationPage.HasBackButton="False"
|
||||||
Title="{Binding Title}">
|
Title="{Binding Title}">
|
||||||
@ -24,7 +25,7 @@
|
|||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
BackgroundColor="#DCDCDC">
|
BackgroundColor="#DCDCDC">
|
||||||
<StackLayout>
|
<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}">
|
<Frame BackgroundColor="#8B0000" WidthRequest="360" Margin="20,0,0,0" CornerRadius="10" IsVisible="{Binding IsCorporate}">
|
||||||
<StackLayout HorizontalOptions="EndAndExpand">
|
<StackLayout HorizontalOptions="EndAndExpand">
|
||||||
<Label FontSize="20" VerticalTextAlignment="End" TextColor="White" Text="VIP" />
|
<Label FontSize="20" VerticalTextAlignment="End" TextColor="White" Text="VIP" />
|
||||||
@ -37,7 +38,7 @@
|
|||||||
<Label FontSize="20" Text="{Binding PassengerName}" TextColor="Black" FontAttributes="Bold" />
|
<Label FontSize="20" Text="{Binding PassengerName}" TextColor="Black" FontAttributes="Bold" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Frame>
|
</Frame>
|
||||||
</RelativeLayout>
|
</cmp:RelativeLayout>
|
||||||
|
|
||||||
<Grid Margin="30,0,0,0" IsVisible="{Binding StopOver}">
|
<Grid Margin="30,0,0,0" IsVisible="{Binding StopOver}">
|
||||||
<CollectionView ItemsSource="{Binding StopoverLocationsList}">
|
<CollectionView ItemsSource="{Binding StopoverLocationsList}">
|
||||||
@ -48,7 +49,7 @@
|
|||||||
</CollectionView.ItemsLayout>
|
</CollectionView.ItemsLayout>
|
||||||
<CollectionView.ItemTemplate>
|
<CollectionView.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<RelativeLayout>
|
<cmp:RelativeLayout>
|
||||||
<StackLayout x:DataType="models:StopoverLocations" Grid.Row="0" Grid.Column="0" Orientation="Vertical" HorizontalOptions="StartAndExpand">
|
<StackLayout x:DataType="models:StopoverLocations" Grid.Row="0" Grid.Column="0" Orientation="Vertical" HorizontalOptions="StartAndExpand">
|
||||||
<Ellipse Fill="{StaticResource Primary}" Opacity="{Binding CircleColorOpecity}"
|
<Ellipse Fill="{StaticResource Primary}" Opacity="{Binding CircleColorOpecity}"
|
||||||
WidthRequest="30"
|
WidthRequest="30"
|
||||||
@ -71,7 +72,7 @@
|
|||||||
StrokeDashOffset="6"
|
StrokeDashOffset="6"
|
||||||
IsVisible="{Binding IsLineVisible}"/>
|
IsVisible="{Binding IsLineVisible}"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</RelativeLayout>
|
</cmp:RelativeLayout>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</CollectionView.ItemTemplate>
|
</CollectionView.ItemTemplate>
|
||||||
</CollectionView>
|
</CollectionView>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user