xml文件设置
android:layerType="software"
以及下面两行代码:
mWebView.setBackgroundColor(ContextCompat.getColor(this, android.R.color.transparent)); mWebView.setBackgroundResource(R.drawable.fenlei_bg);
xml文件设置
android:layerType="software"
以及下面两行代码:
mWebView.setBackgroundColor(ContextCompat.getColor(this, android.R.color.transparent)); mWebView.setBackgroundResource(R.drawable.fenlei_bg);