InputType of EditText in Android
I want to use default keyboard for, but want also that开发者_如何学编程 it occurs with numeric input type.
Does anybody know how to do that?
Maybe there is a way to press '?123'-key programmatically?
I've took a look to list of inputTypes, but none of them seems to be the proper one for my need.
Thank you
You can use either of these 3:
For example: android:inputType="numberDecimal"
set in ur code
inputType = "number"
精彩评论