alidiepuit / osmtracker-android

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

Layouts should be more isolated #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current layout scheme assumes that all the layouts and corresponding
pictures are in the same directory (/layouts). As mentionned by
a.t.chadwick this could cause namespace clashes in case of multiple layouts
using the same name for different images.

The layout system could be improved in order to have better isolation of
each layout. Current suggestions are:
(1) Having each layout into a ZIP file, containing the XML + pictures
(2) Having each layout into a sub-directory of the layout directory

(1) could facilitate layout sharing between users, however zip/unzip
performance should be tested on slow devices.
(2) is not ideal, but is more simple to implement for a first step.

Original issue reported on code.google.com by nguillau...@gmail.com on 8 Apr 2010 at 10:12