当在编辑框输入的时候,安卓如何自定义键盘??求大侠指教谢谢!!!!!急!!!
解决方案 »
- 小弟求安卓开发入门视频,谢谢啦
- 请问mount命令挂载img的操作?
- 谁知道汤姆猫,主要都用到什么技术。
- Android播放指定频段的声音
- 求教公司笔试题
- Android中 如何在通讯时对数据用ssl进行加密?
- Android
- 请问有android的视频教程了吗?
- Galaxy S4 模拟器无法启动
- Android studio configure build 一直报错Cause: unable to find valid certification pat
- android如何调用SDCard中的so文件 或如何动态调用网络下载的so文件
- 一个activity(1)调用另外一个activity(2),2上面的控件没有显示??
keyboardView.setKeyboard(new Keyboard(this, R.xml.XXX));
keyboardView.setEnabled(true);
keyboardView.setOnKeyboardActionListener(...........
android:id="@+id/edit_digit_input"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:digits="1234567890."
android:singleLine="true"
/>
再者
1.editText.setInputType(EditorInfo.TYPE_CLASS_PHONE);
只能输入数字键盘