开发者

Inconsistency in setting html text to Android TextViews and WebViews

I am using Html.fromHtml to setText to my textView. Here is my text.

The figure below is not drawn to scale. Which of the following will most likely to be the value of ∠P?

In this sentence, angle sign is html value (

Inconsistency in setting html text to Android TextViews and WebViews

).

开发者_运维问答

It is working fine in emulator. I also tested on some android device (some unnamed tablets an ebook readers). They are ok. But in my android phone (Sony Xperia X8), it is not rendering angle sign. Instead, it is showing

Inconsistency in setting html text to Android TextViews and WebViews

.

Is there anything wrong? Why is it not being consistent across devices although it is just a textview rendering simple html? More importantly, how could I solve this issue. Following is my graphical representation of my problem.

Inconsistency in setting html text to Android TextViews and WebViews


Edit: It is not only in textviews but also in webviews. I changed using webview instead of textview. Unfortunately, it didn't work out as well. Anyone got any idea?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜