WebView, add local .CSS file to an HTML page?

后端 未结 3 1763
清酒与你
清酒与你 2020-11-28 04:00

In android I\'m using WebView to display a part of a webpage which I fetched from the internet using HttpClient from Apache. To only have the part I want from the html, I us

3条回答
  •  鱼传尺愫
    2020-11-28 04:09

    On a related note, if you're not storing the file in the assets folder and want to use relative paths, Webview on Android sometimes requires dot-slash before relative paths.

    
    

    See this post

提交回复
热议问题