Phonegap - app resolution on multiple devices

Asked

Viewed 141 times

0

Once again the Phonegap!

I made an app, using html, css and jquery mobile which, if you open it as 'site' on Android, the screen is of a size (relatively large). If you open it as an app, on some devices it adapts to the screen, getting very small letters, and on other devices, the letters get bigger, using scrollbar. I saw this difference in versions of Android 4.2.2 and 5.0 (larger letters) and 5.1 Lollipop (very small letters).

Is there any configuration for this in XML, for example? I would like, if possible, the app to always be the size that appears as a website (large print).

Thank you!!

  • But it depends on the site also, the configuration of the viewport of the site.

1 answer

0

Use the following in the viewport: target-densitydpi=medium-dpi"

  • 1

    Can you explain better how this can solve what was asked?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.