Skip to content

Commit

Permalink
#52 CompletingRequests Label añadida a la preview del mapa
Browse files Browse the repository at this point in the history
  • Loading branch information
AcabreraT committed Dec 14, 2017
1 parent f061516 commit 5c18dce
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/Mobile/AeccApp/AeccApp.Core/Views/HomeView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@

<ctrl:CustomImage
Margin="0,0,10,0"
HeightRequest="13"
HorizontalOptions="End"
InputTransparent="True"
SourcePlatform="x_icon_grey"
VerticalOptions="Center" />
VerticalOptions="Center"
WidthRequest="13" />
</Grid>

</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Title="{Binding [NewsDetailViewTitle]}"
vm:ViewModelLocator.AutoWireViewModel="True"
BackgroundColor="{StaticResource BackgroundColor}">
<ScrollView Margin="20,0,20,0">
<ScrollView Padding="20,0,20,0">
<StackLayout Orientation="Vertical" VerticalOptions="FillAndExpand">
<Image
HeightRequest="250"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,38 @@
Margin="0"
BackgroundColor="Transparent"
Command="{Binding MapDetailCommand}" />
<Grid InputTransparent="True">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<BoxView Grid.Row="0" BackgroundColor="Transparent" />
<Frame
Grid.Row="1"
Margin="35,0,35,0"
Padding="1"
BackgroundColor="{StaticResource LightGraySubtitle}"
CornerRadius="25"
HasShadow="False"
HorizontalOptions="Center"
VerticalOptions="Center">
<Frame
Margin="0"
Padding="15,3,15,3"
BackgroundColor="White"
CornerRadius="25"
HasShadow="False"
HorizontalOptions="Center"
VerticalOptions="Center">
<Label
Margin="0"
FontSize="{StaticResource MediumSize}"
HorizontalOptions="Center"
HorizontalTextAlignment="Start"
Text="{Binding CurrentAddress.DisplayAddress}" />
</Frame>
</Frame>
</Grid>
</Grid>

<!-- Date and time text and button -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
Margin="0"
Padding="10"
BackgroundColor="Transparent"
HasShadow="False"
HorizontalOptions="Center"
IsVisible="{Binding IsSearchIconVisible}">
<ctrl:CustomImage SourcePlatform="x_icon" VerticalOptions="Center" />
Expand Down Expand Up @@ -254,7 +255,6 @@
EventName="Toggled" />
</Switch.Behaviors>
</Switch>

<Label Style="{StaticResource SwitchTextStyle}" Text="{Binding [NewHomeAddressViewSaveAddress]}" />
</StackLayout>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
WinPhone="130"
iOS="130" />
</Grid.HeightRequest>

<!-- Avoid InitialCameraUpdate on map (iOS bug) - https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/310 -->
<maps:Map
x:Name="map"
HasZoomEnabled="False"
Expand All @@ -55,6 +53,40 @@
<TapGestureRecognizer Command="{Binding MapDetailCommand}" />
</BoxView.GestureRecognizers>
</BoxView>

<Grid InputTransparent="True">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<BoxView Grid.Row="0" BackgroundColor="Transparent" />
<Frame
Grid.Row="1"
Margin="35,0,35,0"
Padding="1"
BackgroundColor="{StaticResource LightGraySubtitle}"
CornerRadius="25"
HasShadow="False"
HorizontalOptions="Center"
VerticalOptions="Center">
<Frame
Margin="0"
Padding="15,3,15,3"
BackgroundColor="White"
CornerRadius="25"
HasShadow="False"
HorizontalOptions="Center"
VerticalOptions="Center">
<Label
Margin="0"
FontSize="{StaticResource MediumSize}"
HorizontalOptions="Center"
HorizontalTextAlignment="Start"
Text="{Binding CurrentAddress.DisplayAddress}" />
</Frame>
</Frame>
</Grid>
<!-- Avoid InitialCameraUpdate on map (iOS bug) - https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/310 -->
</Grid>
<!-- Save hospital switch -->
<StackLayout
Expand Down

0 comments on commit 5c18dce

Please sign in to comment.