Sunday, July 15, 2012

Android - Add Effects in TextView


STRIKE OVER THE TEXT IN TEXTVIEW

TextView your_textview = (TextView) findViewById (R.id.textview1);
your_textview.setPaintFlags(your_textview.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);