一个静态webview 窗口摘引本地css文件

一个静态webview 窗口引用本地css文件?String linkCss link rel\stylesheet\ href\file:///andro

一个静态webview 窗口引用本地css文件

?String linkCss = "<link rel="stylesheet" href="file:///android_asset/common.css" type="text/css">";

String body = "<html><header>" + linkCss + "</header>" + content + "</body></html>";

webViewer.loadDataWithBaseURL("x-data://base", body , "text/html", "UTF-8", null);