[android-developers] Using dpi instead pixels in canvas.drawBitmap

2012-08-22 Thread Jhon
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

Re: [android-developers] Using dpi instead pixels in canvas.drawBitmap

2012-08-22 Thread Dianne Hackborn
What does look horrible mean? Your bitmaps are being scaled? Note that you really really want to scale your bitmaps at load time, not draw time, so you can turn on important things like bilinear interpolation when scaling without impacting your draw performance. On Tue, Aug 21, 2012 at 3:29 PM,