开发者

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:

InputType of EditText in Android

For example: android:inputType="numberDecimal"


set in ur code inputType = "number"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜