android - want to show numeric soft input keyboard in default alphabetic keybord -


this question has answer here:

i have many input fields in project , of them accept numeric values followed alphabetic values(like 246736adsf) want show numeric keyboard first(in keyboard having numeric , alphabetic values) , alphabetic on selection. tried lot problems open numeric not combination of both. please me rid of problem. thanking you.

set input type number edit text

    android:inputtype="number"  

update

        edittext text = (edittext)findviewbyid(r.id.edittext);     text.setinputtype(inputtype.type_class_number | inputtype.type_class_text); 

Comments