[英]Android TV how to show a numeric keyboard?
I need to show only the numbers on the keyboard.我只需要显示键盘上的数字。
I have tried我试过了
android:inputType="numberPassword" android:inputType="numberPassword"
editText.setRawInputType(Configuration.KEYBOARD_12KEY); editText.setRawInputType(Configuration.KEYBOARD_12KEY);
But no luck.但没有运气。
or by code或通过代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.