android - PhoneGap resolution same but results differ -


i think issue similar referenced here: screen resolution on phonegap app

basiaclly have ipad , android tablet, both resolution of 1024 across, yet screen displays correctly on ipad, yet on android, of output wrapped.

the solution recommended in above post insert following 'viewport' within document head

<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> 

i had in originally, , layout same fonts on android (almost) unreadable (9px ?) fine/readable on ipad.

can advise on might going wrong? how can ensure fonts kept of similar sizes on both android , ios, , not have wrapping on android?

thanks!

remove height , target-densitydpi viewport

<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" /> 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -