阅读背景:

getLineStart()包括计算TextView时的HTML标记

来源:互联网 

I'm creating a custom TextView with a somewhat complicated structure. Each sentence needs its own clickHandler, so I'm wrapping each one in a ClickableSpan. Additionally, the text has HTML in, so I also wrap each sentence in HTML.fromHTML() span. The result is something like this:I'm creating a custom TextView with a somewhat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: