Hi everyone,

I developed an app, it runs well on devices which equipped w/ HVGA and
SDK 1.5/1.6, but when SDK and resolution goes to 2.0 and WVGA and
above, things come to be a little crazy.

I followed the instructions on the official Dev android site, created
the hdpi\mdpi and ldpi folder for drawable and put my resources into
it, then i edit the AnroidManifest.xml to add the support screens, and
enabled small/normal/large screen options to be "true". But based on
the test on the real Droid, the app won't use the resources in
drawable-hdpi, but used the mdpi resources. That's why?


And there's another question:

If I Photoshoped a background image that the resolution is exactly
854*480, and want it be used on Droid, then would it be necessary to
crop a 800*480 image if I want to deploy it on Nexus One? If i cropped
this image to 800*480, then where should i put it into? /res/drawable-
hdpi ? /res/drawable-800*480 ?

Or, in another way to ask this question:
I put an image into /res/drawable-hdpi, but how could the device tell
about the resolution difference between Nexus One and Droid? I don't
want the image be distorted or cropped by the device itself...

Anyone could lend me a hand?
Thanx a lot!

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