I have read the "screen support API guide 
"(http://developer.android.com/guide/practices/screens_support.html) and much 
more resources, but I cannot understand how the dpi works.

I'm developing a game, and I'm not using any layouts (I'm going to draw all 
myself with functions like canvas.drawbitmap). But when I use the 
Canvas.Drawbitmap function I need to specify the pixels of the screen where I 
want to draw the image.

So I'm working now with a fixed resolution (800x480) and I'm using the 
drawable-nodpi folder and adjusting the canvas later if the screen of the phone 
is wider or narrow. The problem with that is that the images look horrible when 
the resolution is not the native one (800x480).

What can I do to solve this problem? I've read and read during 3 days, but all 
explanations and examples are related to Layouts, Nine Patches and so.

Thank you very much.

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