W/webcore(2733): Can't get the viewWidth after the first layout

前端 未结 2 1263
时光说笑
时光说笑 2021-01-25 17:25

I have three web Views next to one another, for display of seperate spinners. I get this error somtimes, which causes problems in window rendering.

heres my xml...

2条回答
  •  终归单人心
    2021-01-25 18:01

    What happens when it doen't load? do you get an error in the logcat?

    after loading the data, try doing this:

    webView.refreshDrawableState();
    

提交回复
热议问题