Step 1: RT[F]M ;^)
http://developer.android.com/guide/practices/screens_support.html
Additionally, there was a LOT of discussion of this when multi-
resolution support came out in 1.6; some searching of this group
should turn up good information too. The summary is that you can
either leave android:anyDensity=false in your manifest to let the
platform scale your bitmaps, or you can include bitmaps of different
sizes for different screen densities.
String
On Jan 16, 1:40 pm, Neilz neilhorn...@googlemail.com wrote:
Hi all. So, I've been building an app which I test on my Hero, with a
screen size of 480 x 320. The app is dependent upon Bitmap images,
placing them at specific screen positions (i.e. Canvas.drawBitmap
(bitmap, x, y, null) etc.).
Now of course I face the problem of how this app will be compatible
with new devices such as the Droid (854 x 480) and Nexus (480 x 800).
Testing on the emulator seems to show that there will be a large part
of the screen unused.
What are the options here? Is there some way that the final Canvas
output can be translated to fit a different screen size? Do I have to
resize my bitmaps depending on the screen size, and translate the x, y
positions accordingly?
Any suggestions appreciated!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en