开发者

InputType of EditText in Android

开发者 https://www.devze.com 2023-02-09 09:28 出处:网络
I want to use default keyboard for, but want also that开发者_如何学编程 it occurs with numeric input type.

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

精彩评论

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