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
For setting the maxLines for a text use mTextView.setMaxLines(0) or you have to programmatic-ally measure of the height text and multiply with the number of max line The result should set as the height of the textView