Added header to gps data

This commit is contained in:
2015-12-23 22:02:29 +01:00
parent de903f5f24
commit 8b51fabf4e
4 changed files with 26 additions and 1 deletions
+6
View File
@@ -246,4 +246,10 @@
<data name="LandmarkReached" xml:space="preserve">
<value>You have reached a landmark</value>
</data>
<data name="RouteListDescription" xml:space="preserve">
<value>Tap on a route in de list below to view details</value>
</data>
<data name="GPSInfo" xml:space="preserve">
<value>GPS Information</value>
</data>
</root>
+6
View File
@@ -246,4 +246,10 @@
<data name="LandmarkReached" xml:space="preserve">
<value>U heeft een bezienswaardigheid bereikt</value>
</data>
<data name="RouteListDescription" xml:space="preserve">
<value>Tik op een route uit de onderstaande lijst om de details ervan te bekijken</value>
</data>
<data name="GPSInfo" xml:space="preserve">
<value>GPS Informatie</value>
</data>
</root>
+5 -1
View File
@@ -92,7 +92,11 @@
</ListBoxItem>
</ListBox>
<StackPanel RelativePanel.AlignBottomWithPanel="True" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" Background="Transparent">
<StackPanel RelativePanel.AlignBottomWithPanel="True" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" Background="Transparent" Tapped="GPSRefresh_Tapped">
<StackPanel Style="{StaticResource GPSInfoPanel}">
<TextBlock Margin="5,0,0,0" FontSize="16" FontWeight="Bold" Text="{Binding GPSInfo}"/>
</StackPanel>
<StackPanel Style="{StaticResource GPSInfoPanel}" Tapped="GPSRefresh_Tapped">
<TextBlock Style="{StaticResource GPSInfoIcon}" Text="&#xE81D;"/>
<TextBlock Style="{StaticResource GPSInfoText}" Text="{Binding Status}"/>
+9
View File
@@ -27,6 +27,7 @@ namespace NavCityBreda.ViewModels
NotifyPropertyChanged(nameof(Status));
NotifyPropertyChanged(nameof(Source));
NotifyPropertyChanged(nameof(Accuracy));
NotifyPropertyChanged(nameof(GPSInfo));
}
@@ -79,6 +80,14 @@ namespace NavCityBreda.ViewModels
});
}
public string GPSInfo
{
get
{
return Util.Loader.GetString("GPSInfo");
}
}
public string Status
{
get