Question

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.

Was it helpful?

Solution

Use setFilters or android:maxLength in xml

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top