android - How to restrict the EditText to accept only alphanumeric characters -


How can I restrict EditText to accept alphanumeric characters only, both lowercase and Showing uppercase letters EditText ?

 in  as uppercase & amp; EditText Android: id = "@ + id / userInput" Android: layout_width = "fill_parent" android: layout_height = "wrap_content" android: inputType = "textMultiLine" Android: minLines = "3" & gt; & Lt; Requestfocus / & gt; & Lt; / EditText>   

If a user shortens the typewriter "abcd", then EditText will automatically show the uppercase "ABCD" without the need to restrict the keyboard in uppercase. needed.

p> / code>

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -