1. 程式人生 > >nestedscrollview 中載入 webview 內容不能正常顯示,Toolbar有警告

nestedscrollview 中載入 webview 內容不能正常顯示,Toolbar有警告

載入不出來的警告:

01-06 11:27:41.403 22796-22796/com.up366.refactor W/View: requestLayout() improperly called by android.support.v7.widget.Toolbar{41e5a478 V.E..... ......ID 0,0-720,112 #7f0c006a app:id/toolbar} during layout: running second layout pass
01-06 11:27:41.433 22796-22796/com.up366.refactor W/View: requestLayout() improperly called by android.support
.design.widget.CollapsingToolbarLayout{41e561a0 V.ED.... ......I. 0,0-720,400 #7f0c0068 app:id/collapsing_toolbar} during second layout pass: posting in next frame

我的主要問題是,build.gradle配置中使用的:

    compile 'com.android.support:design:22.2.0'

調整為:

    compile 'com.android.support:design:22.2.1'

問題解決正常顯示……….