oh that's normal. all resources under drawable-* will only generate R.drawable.* IDs.
This is valid for all types of resources actually. The inner class in R will never contains the qualifiers to the resource folder (the part after '-'). Xav On Tue, Apr 27, 2010 at 5:20 PM, Tom <orei...@mbari.org> wrote: > OK, enabled verbose build output, and I can see some processing of the > drawable-nodpi folder, e.g. > > (processed image /Users/oreilly/Documents/workspace/Solaris/res/ > drawable-nodpi/earth2.gif: 92% size of source) > > .. and even appears to generate a new resource ID for files in that > folder: > > (new resource id earth2 from /Users/oreilly/Documents/workspace/ > Solaris/res/drawable-nodpi/earth2.gif) > > > However the generated Resource 'R' class does not contain an inner > "drawable-nodpi" class - just contains "drawable". > > Or is this the way it is supposed to be? How do I refer in Java code > to resources defined in drawable-nodpi? > > Thanks, > Tom > > On Apr 27, 5:10 pm, Xavier Ducrohet <x...@android.com> wrote: >> hmm there should be nothing to do beyond creating the folder and >> putting stuff in it. >> >> You may want to set the build output to verbose (in the Eclipse >> preferences under Android > Build) and see what the output looks like >> (in the Console view of Eclipse). >> >> Xav >> >> >> >> On Tue, Apr 27, 2010 at 4:57 PM, Tom <orei...@mbari.org> wrote: >> > I should add that I also tried "refresh" and project "clean" - eclipse >> > still does not utilize the new resource folder. >> >> > On Apr 27, 4:37 pm, Tom <orei...@mbari.org> wrote: >> >> I need to add a res/drawable-nodpi folder to my Eclipse ADT project. >> >> My project originally contained drawable, drawable-hdpi, drawable- >> >> ldpi, layout, etc subfolders, but no drawable-nodpi. How do I add this >> >> to the automatic resource build process? I tried to manually create >> >> the subfolder and copy files to it, but those resources are not being >> >> auto-generated. How do I make Eclipse utilize the new resources >> >> subfolder? >> >> >> Thanks, >> >> Tom >> >> >> -- >> >> 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 >> >> athttp://groups.google.com/group/android-developers?hl=en >> >> > -- >> > 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 >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> >> Please do not send me questions directly. Thanks! >> >> -- >> 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 >> athttp://groups.google.com/group/android-developers?hl=en > > -- > 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 > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- 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