setItemMaxLines

open fun setItemMaxLines(itemMaxLines: Int)

Sets the android:maxLines attribute of the text view in the menu item.