<meta name="viewport" content="width=device-width, initial-scale=1">
This is not helping at all. I have got 100 px X 100 px.jpg pictures and they are way too small in Nexus 7 but ok in some other device. Is it possible to configure app so that pictures are always sized based on device?
I am using Phonegap/Cordova and my pictures are in assets/www/images-folder. I read from developer.android-page that it should scale pictures if they are jpg, png or bmp-formats.
Thanks for helping!
Sami
Android will only scale resources that are stored in the
/resfolder. It will not scale or otherwise choose among alternative resources for anything stored in/assets. If you put the images in/res/drawable, then they will scale automatically with pixel density. However, it sounds like you want to have larger images for large-screen devices like the Nexus 7. In that case, put the larger version of the image in/res/drawable-large.See the docs on providing alternative resources for a complete explanation of resource qualifiers you can use.