我是 android 新手,谁能帮我解决这个问题?
我的问题是我在 MySQL 表中存储了 UTF-8 编码,它包括英语和其他语言,即富文本格式,如 કેમ છો Brother ?
我想在 android textview 或 readonly edittext 中显示它,但不在 webview 中显示。
有没有人可以帮助我?
我可以在 Assets 中存储两种类型的字体,但我想我们一次只能应用一种。
最佳答案
这对你有帮助
textView.setText(Html.fromHtml("< font>"+ur first font here+"< / font >< font >"+your second font hrer +"< / font >"));
关于android - 如何在 android 的 TextView 中显示两种字体的句子组合?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22685569/