让数字键盘默认 [英] getting numeric keyboard default

查看:99
本文介绍了让数字键盘默认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能改变Android的默认键盘?
我想显示数字键盘,然后再单击上ABC的数字键盘,我想显示的字母键盘。
这是可能实现?
先谢谢了。

How can I change android's default keyboard? I want numeric keyboard to be shown first and then on clicking ABC in the numeric keyboard, I want to show alphabets keyboard. Is that possible to implement? Thanks in advance.

推荐答案

假设你正在使用一个TextView你的文字输入,您只需设置INPUTMETHOD属性。

Assuming you're using a TextView for your text input, you simply need to set the inputMethod property.

http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputMethod

这篇关于让数字键盘默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆