开发者

Android: How can I make this "समोसा" appear as Hindi characters in my app?

开发者 https://www.devze.com 2023-02-19 12:47 出处:网络
I have these codes that are from a database.They represe开发者_开发百科nt Devangari (Hindi) script:

I have these codes that are from a database. They represe开发者_开发百科nt Devangari (Hindi) script:

समोसा

I have a Hindi font installed on my phone.

How I get these codes to display as Hindi script in my Android app?


for a TextView, try .setText(android.text.Html.fromHtml("समोसा")

0

精彩评论

暂无评论...
验证码 换一张
取 消