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

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - Check if a NumericUpDown has no value -