开发者

Android TextView display phonetic(IPA) symbols?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜