문제

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.

도움이 되었습니까?

해결책

Use setFilters or android:maxLength in xml

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top