alphamu / PinEntryEditText

An EditText that looks like a pin entry field. It is highly customisable and even animated text.
Apache License 2.0
670 stars 137 forks source link

Set the edittext limit programmatically #35

Closed nehaj2995 closed 6 years ago

nehaj2995 commented 6 years ago

I have to set the limit of the edittext programatically , how can I achieve it ? Right now I'm doing it in xml file android:maxLength="5"

alphamu commented 6 years ago

There is a setMaxLength method.