SyntaxFix
Write A Post
Hire A Developer
Questions
Use this:
TextView txt = (TextView) findViewById(R.id.Textview1); txt.setPaintFlags(txt.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);