Android WebView seems to ignore “viewport” information on web pages

后端 未结 8 2109
情深已故
情深已故 2020-12-15 00:37

I have a website that is using the viewport META tag to tell mobile browsers how to display content ( ). Viewing the page in the Android browser looks correct (and iPhone,

相关标签:
8条回答
  • 2020-12-15 01:04

    Try using this method of WebSetting class

    setUseWideViewPort (boolean use)
    

    I use this to tell Android webview to consider my "viewport" tag

    0 讨论(0)
  • 2020-12-15 01:11

    I can only confirm your issue. There is an open issue at the android issue tracker. Please give it a vote/star if you're affected by this.

    0 讨论(0)
提交回复
热议问题