我想显示例如这个HTML代码:
<body>
<p><b>Hello World</b></p>
<p>This is a test of the URL <a href="http://www.example.com"> Example</a></p>
<p><b>This text is bold</b></p>
<p><em>This text is emphasized</em></p>
<p><code>This is computer output</code></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
Run Code Online (Sandbox Code Playgroud)
我想通过在资源中声明html来在Dialog上显示它strings.xml.我该怎么做?