My app has only one layout defined, 320x480 (160dpi). I've used my Galaxy S to set up my layout. The problem is that I've been testing mi app in different devices (HTC Magic and Nexus One) an there a re some problems.
HTC Magic: HVGA (320 X 480 píxeles)
Nexus One: WVGA (480 X 800 píxeles)
Galaxy S: WVGA (480 X 800 píxeles)
Nexus and Galaxy work Ok, the problem is with Magic. I've been looking for this in Internet and I've found this:
Hardware Property for Abstracted LCD Density of Magic: “180”
Hardware Property for Abstracted LCD Density of Nexus and Galaxy: “252”
Now I see. The nexus one screen is slightly longer than 320x480. You can either create the layout with the emulator (which is the recommended way) and then there will be some empty space at the bottom of the nexus one. Or create another variant for the nexus one, or adjust the WebView height programmatically.
If you want to create another variant then you can use: 320x533, scale=1 or 480x800, scale=1.5.