【问题标题】:How can i open this html body form in a webview?如何在 webview 中打开这个 html 正文表单?
【发布时间】:2018-07-29 07:57:26
【问题描述】:

\r\n
https://my.click.uz/pay/\" method=\"post\" id=\"click_form\">\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n "

【问题讨论】:

    标签: java android html webview


    【解决方案1】:

    您可以使用Html.fromHtml()TextView 上加载它,如下所示:

    String source = "your source";
    txt.setText(Html.fromHtml(source, Html.FROM_HTML_MODE_COMPACT));
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-07-15
      • 1970-01-01
      相关资源
      最近更新 更多