same code anyDensity=false works fine for device with display resolution 320*480, but images are displayed pixelerate in device with display resolution 480*800.
views:
30answers:
2
A:
If you have the any density=false attribute set and are building an app that will also run with android 1.5 your app will run in a compatibility mode. This will render your app like it is always displayed on a 320*480 screen and just scale down the resulting pixel measurements.
There should be no need to set any density to false in your manifest.
Janusz
2010-10-18 08:56:18
How can I use images of size 320*480 on device with 480*800 resolution,
Vishakha Kinjawadekar
2010-10-22 06:05:06
if the image is set to an imagview you can set the the width and height of the imageview as fill_parent and then set the scaleType of the imagview to fit_center. This however will make your images somewhat blurry.
Janusz
2010-10-22 07:29:43
A:
In my opinion the real resizing is only done for anydensity=true and dp/dip used as units.
joki
2010-10-18 11:16:01