Frage

In my app i have placed some EditBoxes . When the user types some data i want to stop him from entering too much of characters. i.e When the number of characters exceed 80, the characters typed next to them must be stopped and it must be invisible.

Is there any option for this in android or should I write a code of my own. If I have to write a code of my own please help me friends.

War es hilfreich?

Lösung

Use setFilters or android:maxLength in xml

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top