android - How to restrict the EditText to accept only alphanumeric characters -
How can I restrict If a user shortens the typewriter "abcd", then p> / code> 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>
EditText will automatically show the uppercase "ABCD" without the need to restrict the keyboard in uppercase. needed.
Comments
Post a Comment