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.
我有这些来自数据库的代码。它们代表 Devangari(印地语)脚本:
समोसा
我的手机上安装了印地语字体。
如何让这些代码在我的 Android 应用程序中显示为印地语脚本?
对于 TextView,请尝试.setText(android.text.Html.fromHtml("समोसा")
.setText(android.text.Html.fromHtml("समोसा")