maxDescriptionLines property
The maximum number of lines to display for the toast description. If the description exceeds this number of lines, it will be truncated with an ellipsis. The default value is 2.
Implementation
final int maxDescriptionLines;