简体   繁体   中英

How to strikethrough a specific text in textview with some angle

I want to achieve this my textview

I want to strikethrough through a specific text in a textview with some angle as show in the imAGE attached. How to achieve this android. I tried to do it with HTML.fromhtml method but all the tag (like "hr" ) is not working in textview.

you can refer to this link for different spans possible.

And this is developer documentation for dynamic drawable span .

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