I would like to programmatically set maxLength
property of TextView
as I don’t want to hard code it in the layout. I can’t see any set
method related to maxLength
.
Can anyone guide me how to achieve this?
I would like to programmatically set maxLength
property of TextView
as I don’t want to hard code it in the layout. I can’t see any set
method related to maxLength
.
Can anyone guide me how to achieve this?