alidiepuit / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Parsing error on custom buttons #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tryed to define my own layout.
For test purpose I only configured one button (<button type="tag"
label="highway= \nstop" icon="but_stop.png" />) and left everything else
like the template was except of the icons which I removed.
Getting a parse error. What's wrong with the file? It's UTF8.

Original issue reported on code.google.com by miji2b...@googlemail.com on 11 Apr 2010 at 12:09

Attachments:

GoogleCodeExporter commented 9 years ago
Your custom layout should provide a {{{<layout name="root">}}}, which will be 
the
first layout to be displayed.

Replace {{{<layout name="mybuttons">}}} with {{{<layout name="root">}}} and it 
should
work.

I just put this note in red in the CustomButtonsLayouts page as it don't seem 
to be
enough obvious ;-)

Original comment by nguillau...@gmail.com on 12 Apr 2010 at 8:54

GoogleCodeExporter commented 9 years ago
Sorry please don't take "{{{" & "}}}" into account, I though that Wiki syntax 
was
working on bug comments.

Original comment by nguillau...@gmail.com on 12 Apr 2010 at 8:55

GoogleCodeExporter commented 9 years ago
That happens when you start reading 'between the lines'.

Now it works!
Thanks.

Original comment by miji2b...@googlemail.com on 13 Apr 2010 at 10:30