android - Overriding a html5 viewport -
i build simple android webview getting html5-website. website provides following line, seems scale view wrong (on low density device):
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
unluckily attempts scale view down 75% unsuccessful, tried using various combinations of:
getview().getsettings().setusewideviewport(true); // used true, false getview().getsettings().setsupportzoom(true); // used true, false getview().getsettings().setbuiltinzoomcontrols(true); // used true, false getview().setinitialscale(0); // used 0, 75, 100, 150 here
is there other way of overriding html5 ?
regs, rob
the correct syntax requires commas. replace semi-colons (;) commas (,) , give try.
Comments
Post a Comment