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