loadStyledHTML

fun WebView.loadStyledHTML(style: String, htmlBody: String)

Loads html into a webview with custom css styling. Example AMUtil.loadStyledHTML(webview, "{p {text-align: center;color: red;}}", "

Example

");

Parameters

style

Css contents

htmlBody

The html string to put in the