Hi,
I listened to the video of Justin Mattson's talk on supporting
multiple screen densities and implemented his recommendation to
support Android 1.5 devices onwards by using the following drawable
directories for the program's icon (and other drawables):
 drawable-hdpi (hi density icon)
 drawable-ldpi (lo density icon)
 drawable-mdpi-v3 (med density icon for 1.5)
 drawable-mdpi (med density icon for 1.6 onwards)

However when I try to compile this in Eclipse using the 2.2 sdk tools,
compiling for 1.6,  I get the errors:

res\drawable-mdpi-v3\icon.png:0: error: Resource entry icon is already
defined.
res\drawable-mdpi\icon.png:0: Originally defined here.

I have had to go back to drawable-hdpi-v4, drawable-ldpi-v4, drawable-
mdpi and drawable (with a copy of icon in drawable-mdpi) which is how
I handled it before I heard the talk. By the way I only had to copy
the icon into drawable since I upgraded to the 2.2 sdk where the
packager logic seems to have changed.

Does anyone have any thoughts on what I have done wrong? Have others
been successful with the -v3 approach?
Thanks, Paul


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to