Android setLayerType Webview

前端 未结 4 1485
抹茶落季
抹茶落季 2021-01-22 14:33

I am trying to create a WebView dynamically using the following code:

mWebView = new WebView(this);
mWebView.setId(R.id.webview);
mWebView.setVerticalScrollBarEn         


        
4条回答
  •  伪装坚强ぢ
    2021-01-22 14:58

    What API lvl are you building for? looks like .setLayerType(int, Paint) was introduced at api lvl 11.

提交回复
热议问题