Well I am using these setting for the android emulator
resolution – 480×800
Abstracted LCD density – 320
Max VM application heap size – 48
Device ram size – 512
and my images size is exactly the same as of android emulator resolution that is 480×800 but images do not fit horizontally on the emulator and it seems that image is short in width and result is
http://cubixshade.com/images/img.jpg
http://cubixshade.com/images/img2.jpg
I do not want to use android:background at ImageView, there is no need for stretching the image width or height when resolutions are kept same as the simulator resolution.
You aren’t taking into account the status bar or based on what I can tell in the image, the action bar. Both of these will reduce your vertical pixel size. Please realize that as Android has many device sizes so you’ll have to take into account devices with many different screen sizes such as 320×480, 480×800, 480×854, 540×960, and so on. Your best bet is to take the elements in your image and make them appropriate Android UI element widgets so that you can handle multiple resolutions.