Open GoogleCodeExporter opened 9 years ago
Hey, I live in Australia too, mate :)
I think the problem you describe is independent of the locale, because the
speed limits are set in the layout file, which can be customized (See
CustomButtonsLayouts) and is not tied to the locale as far as I know.
OSMTracker ships with a default layout for the most common limitations, but it
can't suit all countries, that's why the customisation is possible.
Having advanced options for the speed limit groups would be nice, but that
would make speed limits a special "case" in the button management which is not
ideal. I'm not ready to make that effort, but I'll gladly take a patch :)
Original comment by nicolas@guillaumin.me
on 23 Jun 2014 at 9:03
Ah I see, very well then.
I was hoping for a simple non-XML solution, seeing as the en_US layout is
nearly there with the exception of the European speed limit ranges, and that
the en_US layout itself isn't appropriate for those in the US.
Is it possible to bundle additional XML layouts with the application, or is
this only supplied from the SD card?
Original comment by micol...@gmail.com
on 23 Jun 2014 at 12:43
That is, I give you XML files and they can be included in the mainline
distribution in future versions?
Original comment by micol...@gmail.com
on 23 Jun 2014 at 12:44
Meh I was wrong about the locale (it's been a while since I've developed the
app actually), layouts can indeed be configured differently depending on the
locale.
List of existing locale-specific layouts is there (folders named
xml-something/):
https://github.com/nguillaumin/osmtracker-android/tree/master/res
There's one for en_GB but not en_US or en_AU, so happy to include a new one if
you can provide it.
Original comment by nicolas@guillaumin.me
on 24 Jun 2014 at 8:57
Original issue reported on code.google.com by
micol...@gmail.com
on 22 Jun 2014 at 4:27