阅读背景:

使用NumberPicker作为输入法而不是标准键盘

来源:互联网 

I have several EditText fields in my Activity. For one of those fields I like to use a NumberPicker to enter the values (e.g. age, height or whatever). Is there a possibility to display a NumberPicker instead of the keyboard once that specific editText is clicked? I know that you can change the inputType to "text", "numberPassword" etc. in the layout file but I haven't found a possibility to make that inputType a customView.I have several EditText fields in my Activity.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: