private static final StrikethroughSpan STRIKE_THROUGH_SPAN = new StrikethroughSpan();
Spannable spannable = (Spannable) button.getText();
spannable.setSpan(STRIKE_THROUGH_SPAN, 0, button.getText().length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
请查看这些链接以更好地理解::
删除线跨度
Spannable.setSpan