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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -