setMaxWidthResource

open fun setMaxWidthResource(@DimenRes maxWidthId: Int)

Sets the maximum width of the text field. The layout will be at most this dimension wide if its layout_width is set to wrap_content.

Parameters

maxWidthId

The id of the maximum width dimension resource to be set

See also

setMaxWidth(int)
getMaxWidth()