简体   繁体   中英

Android Html.fromHtml tag “strike” does not works

I found this solution

and it doesn't works for me. What I am doing wrong? I used it:

tv.setText(Html.fromHtml("<strike>111</strike> 222", null, new MyHtmlTagHandler());

but "111" showing as not strike out(

sorry if I am wrong, I am nub here)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM