I am developing an Android application using PhoneGap, but I soon found a problem. Whenever I insert an image (background image or image tag), it is displayed more than it should be.
Initially, I thought it was a problem of my emulator, representing my application in a different ratio, but it is not! I took a screenshot and the width of my viewport is 540, just like I defined in AVD.
As you can see in the screenshot below, in my HTML I set the image tag, typing a width of up to 69 and a height of up to 70 (the actual dimensions of the original image). But he always gets bigger!
The label "original source image" indicates a real image that I dragged from its catalog to a screenshot to prove that they are completely different.

source
share