android TextView 删除线

获取textview 的画笔添加一个flag即可

TextView textview = findViewById(R.id.text_view)
textview.setText("删除线效果")
textView.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG)
原文地址:https://www.cnblogs.com/rchao/p/14679634.html