开发者

Android TextView display phonetic(IPA) symbols?

开发者 https://www.devze.com 2023-02-11 21:36 出处:网络
For example I\'ve java string with [bɪ’fɔ:l] word. Set this string to TextView by .setTest method and it displays as [b[]f[]l] where [] is squear symbol.

For example I've java string with [bɪ’fɔ:l] word. Set this string to TextView by .setTest method and it displays as [b[]f[]l] where [] is squear symbol. I've tried .getText from the TextView, but java string contains the same right symbols.

WebView gave the same result. What could be the开发者_StackOverflow中文版 problem?


Square symbols means that the font you are using (Droid sans in android by default) has not defined the character you need to display.

To change the font take a look at this question: How to change the font on the TextView? and use a font that can show the special characters you need

0

精彩评论

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