I\'m having a hard time reseting the maxLines attribute of a TextView programmatically.
maxLines
TextView
Just tried setting to 0 and it doesn\'t wo
0
if you want to have just a single line , then why don't you use:
txtView.setSingleLine(true);