On Android, we have density independent pixels (dp, sp) for font sizes and sizes.
What is the alternative in html + phonegapp?
Do I need to create a separate layout for each size class (ldpi, mdpi, hdpi ...)?
If the screen density is too high, can an application programmatically “enlarge” a web page (WebView) so that the font looks too small?
PS viewport-percent units vw and vh do not work in Android webview.
Pawel source share