I want to input EditText som characters:
android:digits=”1234567890-_@#.”
If I don’t set inputType keyboard input Text is default.
I want show number keyboard show default.
But:
If in EditText design ,i set:
android:inputType="number"
or
android:inputType="phone"
EditText don’t show key (@,_)
How show default keyboard number (allow input digits="1234567890-_@#.") in Edittext?
Use this :
It works for me and allow me to insert this characters “1234567890-_@#.” only.
Hope this will help you.
Thanks.