简体   繁体   English

如何以某种角度删除 textview 中的特定文本

[英]How to strikethrough a specific text in textview with some angle

I want to achieve this my textview我想实现这个我的 textview

I want to strikethrough through a specific text in a textview with some angle as show in the imAGE attached.我想删除 textview 中的特定文本,并带有一些角度,如附图所示。 How to achieve this android.如何实现这个android。 I tried to do it with HTML.fromhtml method but all the tag (like "hr" ) is not working in textview.我尝试使用 HTML.fromhtml 方法来做到这一点,但所有标签(如 "hr" )在 textview 中都不起作用。

you can refer to this link for different spans possible.您可以参考此链接了解可能的不同跨度。

And this is developer documentation for dynamic drawable span .这是动态可绘制范围的开发人员文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在列表视图中自动加载 textview 并删除一些 textview - How to auto load textview on a list view and strikethrough some of the textview 在TextView文本的一部分上指定“删除线” - Specifying “strikethrough” on a section of TextView text 如何在 String 上获得 StrikeThrough ? 不是 TextView、EditText 或视图。 但是像 String a = "my text" 然后将它作为 String 传递给 SQLite - How to get StrikeThrough on a String ? Not a TextView, EditText or a View. But like String a = "my text" and then pass it to SQLite as a String 从ListView删除项目时,TextView文本上的删除线保留 - Strikethrough on TextView text stays when item is removed from ListView Listview Textview Strikethrough - Listview Textview Strikethrough 从 TextView 中删除删除线 - Removing Strikethrough from TextView 再次以Android为主题:对某些TextView使用特定的文本颜色 - Again on Android theme: use a specific text color for some TextView 我们可以在Android中加载带有某些特定文本的Autocomplete TextView吗? - Can we load Autocomplete TextView in android with some Specific text? Android:如何通过单击 ListView 中的复选框向 TextView 添加删除线 - Android: How to add strikethrough to TextView by clicking on checkBox in ListView 选中后如何删除列表视图中的文本项? - How to strikethrough text items in listview when checked?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM