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?

On Jun 1, 12:57 pm, String <[email protected]> wrote:
> On Jun 1, 12:49 pm, Neilz <[email protected]> wrote:
>
> > The image doesn't fit the screen when I switch to newer devices with
> > different screen ratio, such as a Nexus with 800 * 480... there's a
> > gap at the bottom.
>
> First, you should read 
> this:http://developer.android.com/guide/practices/screens_support.html
>
> For your specific problem, you could make an image with a taller
> aspect ratio (try 320x570) - keeping in mind that 50-90px will be
> cropped off on HVGA screens. Or, make an 480x854 image (for the Droid
> screen) and put it in drawable-hdpi-v4.
>
> But be aware that both of those shortcut solutions are kludges which
> will fail on some devices, present or future. Really, there's no good
> shortcut to understanding the android approach to multiple screen
> resolutions & densities, then figuring out for yourself what the best
> solution is for you particular app.
>
> String

-- 
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