Android - webview cuts off

后端 未结 2 1569
南笙
南笙 2021-01-19 09:47

I currently have a webview that displays a current site. However, it cuts off the side of the page. See the picture below. Is there anyway to fix this? See my c

2条回答
  •  感情败类
    2021-01-19 10:21

    From your picture it looks like you're also using Tabs. It's likely a result of the embedded webview not knowing its parents bounds properly and taking the width of the screen instead of the tab view.

    You can fix this in a couple of ways, but probably the quickest/dirtiest way would be messing around with the margin of the webview to match that of your tab layout.

提交回复
热议问题