setMaxLines

open fun setMaxLines(lines: Int)

Sets the height of the TextView to be at most maxLines tall.

Parameters

lines

The maximum height in terms of number of lines.