问题
Webview sometime seems like white or transparent when I load the pdf URL with appending "http://docs.google.com/gview?embedded=true&url=", Please help me out on this.
webView.loadUrl("http://docs.google.com/gview?embedded=true&url=$fileUrl")
回答1:
Set Hardware Accelerated true in manifest
android:hardwareAccelerated="true"
this worked for me. hopefully this will also help someone.
来源:https://stackoverflow.com/questions/58851427/webview-sometime-seems-like-white-or-transparent-when-i-load-the-pdf-url