Neilz wrote:
> Thanks String.
> 
> I'm familiar with most of that, it's just different bitmaps and
> resource folders that are new to me.
> 
> I've setup a new project, with minSdk="3" targetSdk="8", and have seen
> that there are now three different folders in the res directory. I've
> put the same images in all folders, for the time being. On my 2.2
> device, the app ran fine (even with images in the mdpi folder only).
> But in my 1.5 device, I get an error:
> 
> ResourceNotFoundException
> 
> How do I call a resource from the drawable folder that will get found
> on my 1.5 device?

You could:

-- rename your res/drawable-mdpi/ folder to res/drawable/, therefore
making it the default

-- clone your res/drawable-mdpi/ folder to res/drawable-mdpi-v3/, which
was a workaround for some resource limitations with 1.5 that were
covered in a Google I|O 2010 presentation

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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

Reply via email to