Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在TextView.
TextView
我尝试了很多但找不到解决方案。我无法显示基值CHA2DS2-VASc。
CHA2DS2-VASc
我建议您为此公式创建 HTML 字符串,并使用以下方法在 TextView 中显示它:
String formulaString = "<body>CHA<sub>2</sub>DS<sub>2</sub>-VAS<sub>c</sub></body>"; textView.setText(Html.fromHtml(formulaString));