Java tutorial
//package com.java2s; import android.graphics.Paint; import android.widget.TextView; public class Main { public static void setPaintFlags(TextView textView) { textView.setPaintFlags(textView.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); } }