【发布时间】:2017-03-25 22:15:43
【问题描述】:
我想在我的应用中使用 chrome 自定义标签。我找到了如何将 url 中的数据加载到选项卡中,但我没有找到如何使用 html-tags 从字符串值加载数据。如何从 webview-example 制作类似的功能:
webViewContent.loadDataWithBaseURL(null, htmlText, "text/html", "UTF-8", null);
在 chrome 自定义标签中?
【问题讨论】:
-
Chrome 自定义标签无法做到这一点
标签: android html webview google-chrome-devtools