拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
You can set strikethrough through Paint textView.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG);If you select a section of text to set strikethrough, use Span to draw it in blocks.
It should be implemented by custom control
Customize TextView, override onDraw method, execute canvas.drawLine to draw lines when checked, and refresh TextView again
Framelayout, make that line Invisable, click to check it and make it visible. Personal opinion...
You can set strikethrough through Paint textView.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG);
If you select a section of text to set strikethrough, use Span to draw it in blocks.
It should be implemented by custom control
Customize TextView, override onDraw method, execute canvas.drawLine to draw lines when checked, and refresh TextView again
Framelayout, make that line Invisable, click to check it and make it visible. Personal opinion...