Thursday, 15 May 2014

android - How to restrict the user to enter more than 5 lines in edit text? -



android - How to restrict the user to enter more than 5 lines in edit text? -

this question has reply here:

edittext maxlines not working - user can still input more lines set 9 answers

i developing android application forms. here in input fields description section should not allow user come in more 5 lines.i not getting how prevent user come in more 5 lines in edit text field. tried android:maxlines=5 , android:lines=5. not giving functionality. 1 please suggest way stop entering more 5 lines in edit text.

thanks in advance

validate field when user tries submit it. utilize prompt notify user of required length.

android android-edittext

No comments:

Post a Comment