Android, how fix the max character length/size of EditText -


please guide me, want fix size of edittext..

i want can enter 10 character in edittext, after not type more 10 character...

any method there?

thanks in advance..

add attribute edittext

android:maxlength="10" 

Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -