How to show Certain Part of WebPage inside Webview With Fit Screen to All Devices

前端 未结 5 2190
终归单人心
终归单人心 2021-02-19 23:13

I Want to Show WebPage Inside WebView. Up to this it is fine.

But I have WebPage (As Given Below) and I want Certain Part of it. I mean just Top Left Corner should be vi

5条回答
  •  甜味超标
    2021-02-19 23:46

    On the HTML page you can have something like target-densitydpi=240; depending on device type just set this parameter from your Java code, the page will automatically fit to target density.

提交回复
热议问题