maxTitleLines property

int maxTitleLines
final

The maximum number of lines to display for the toast title. If the title exceeds this number of lines, it will be truncated with an ellipsis. The default value is 2.

Implementation

final int maxTitleLines;