Hey I am working on my first Android Game and am trying to figure out the best way to scale images with device. For my background I am currently using Bitmap.createScaledBitmap using the getWidth() and getHeight() for the screen size. I could use something similar for sprites and custom scale with getWidth() and getHeight(), but I think there is a better way. The LunarLander example uses getIntrinsicWidth() and getIntrinsicHeight() with drawables. I am looking at using drawables for the sprites and was wondering what the best way to scale them is. According to the documentation getIntrinsicHeight() returns the intrinsic height of the drawable, but it doesn't go into detail about what the intrinsic height is. Is it the height in pixels after scaling between dpi, so that the image is the same size in height?
Also, if anybody has a guide describing some of the differences between Bitmap, Drawable, DrawableBitmaps, and others please point me to it. Thanks for the information. -- 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

