alidiepuit / osmtracker-android

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

Loosing icons #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've tried to make a few changes in the files dedicated to French translation.

I've collected the "default_buttons_layout.xml" file that is stored here:
http://code.google.com/p/osmtracker-android/issues/detail?id=47

But when I install it I've the problem that icons don't appear anymore.

So I've tried with the English version of this file that is stored here:
http://code.google.com/p/osmtracker-android/source/browse/trunk/res/xml/default_
buttons_layout.xml

I get the same result, no more icon excepted the first three that are still in 
French (all other buttons are in english):
Mémo Vocal
Photographier
Note
Those three have their icon.

Samsung Galaxy S, Android 2.1 not modified.

J'ai voulu apporter quelques modifications aux fichiers destinés à la 
traduction en Français de l'interface (correction de fautes d'orthographe, 
adaptation des vitesses à la France etc.)

J'ai récupéré le fichier "default_buttons_layout.xml" qui est stocké ici :
http://code.google.com/p/osmtracker-android/issues/detail?id=47

Mais lorsque je l'installe, le icônes ne s'affichent plus.

J'ai donc essayé avec la version Anglaise de ce fichier :
http://code.google.com/p/osmtracker-android/source/browse/trunk/res/xml/default_
buttons_layout.xml

J'obtiens le même résultat, pas plus d’icônes.
Dans les deux cas, les trois premiers boutons restent en Français et 
conservent bien leur icônes :
Mémo Vocal
Photographier
Note

Samsung Galaxy S, Android 2.1 non modifié.

Original issue reported on code.google.com by j-franc...@magic.fr on 1 Sep 2010 at 12:13

GoogleCodeExporter commented 9 years ago
The layouts for translations are embedded in the application source code and 
thus uses a special syntax for icons to reference application internal 
resources, instead of external PNG files (See 
http://code.google.com/p/osmtracker-android/wiki/CustomButtonsLayouts#See_also 
).

If you want to use this layout, you have to either:
* Change icons to point to PNG files
* Download the source code and build your own version of the app.

I'll update the wiki page with this information, thanks for reporting that.

Original comment by nguillau...@gmail.com on 1 Sep 2010 at 1:20