summaryrefslogtreecommitdiff
path: root/navit/xslt/android.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'navit/xslt/android.xslt')
-rw-r--r--navit/xslt/android.xslt7
1 files changed, 5 insertions, 2 deletions
diff --git a/navit/xslt/android.xslt b/navit/xslt/android.xslt
index 68e731be0..3a1fdaf02 100644
--- a/navit/xslt/android.xslt
+++ b/navit/xslt/android.xslt
@@ -44,6 +44,9 @@
<img src=''gui_rules'' onclick=''navit.graphics.set_map_location();''><text>Set map location</text></img>
<img src=''gui_rules'' onclick=''navit.graphics.backup_restore_dialog();''><text>Backup / Restore</text></img>')"/>
</xsl:template>
+ <xsl:template match="/config/navit/traffic">
+ <traffic type="traff_android"/>
+ </xsl:template>
<xsl:template match="/config/navit[1]">
<xsl:copy>
@@ -68,7 +71,7 @@
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
- <xsl:template match="/config/navit/layout/layer/itemgra/child::*">
+ <xsl:template match="/config/navit/layout/layer/itemgra/child::*|/config/navit/layer/itemgra/child::*|layout/layer/itemgra/child::*">
<xsl:copy>
<xsl:copy-of select="@*[not(name()='text_size') and not(name()='width') and not(name()='radius') and not(name()='w') and not(name()='h') and not(name()='x') and not(name()='y') and not(name()='dash')]"/>
<xsl:if test="@text_size">
@@ -110,7 +113,7 @@
</xsl:if>
</xsl:copy>
</xsl:template>
- <xsl:template match="/config/navit/layout">
+ <xsl:template match="/config/navit/layout|/layout">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:if test="@name='Car'">