I use this line below to set strikethrough in my TextView:
tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
However, later in Fragment, if they click TextView again, I would like strikethrough to be deleted. What line of code can I use to simply make TextView display text in normal format again?
Thanks in advance!
android android-listview textview flags android-textview strikethrough
edwoollard Sep 18 '13 at 20:31 on 2013-09-18 20:31
source share