机器人:inputType =" textEmailAddress" - “@”键和“.COM”键?机器人、inputType、QUOT、textEmailAddress

2023-09-13 01:52:49 作者:你算个毛线啊

我有我的设置inputType =textEmailAddress一个EditText。我的理解是,这应该弹出软键盘这是更适合的电子邮件地址表项。

I'm having an EditText where I set the inputType="textEmailAddress". My understanding is that this should bring up a soft keyboard that's more suitable for email address entry.

在国际货币基金组织IMF Android的博客条目有显示为composiong电子邮件中的特定图像,其中软键盘包含@键,电子邮件地址项。

In the blog entry for IMF Android IMF there is a particular image shown for composiong email where the soft keyboard consists of '@' key for email address entry.

但是,在这个特定的answer所显示的软键盘显示除了@一键在.com键。

But in this particular answer the displayed soft keyboard shows a '.com' key besides the '@' key.

这是.COM键默认密钥与Android:inputType =textEmailAddress?或者是有一些设置参与?

Is this '.com' key a default key with android:inputType="textEmailAddress"? Or is there some setting involved?

推荐答案

有没有默认真的。 安卓inputType 只是一个提示你输入法。现在,IME可能是普通的Andr​​oid 1.1键盘的Andr​​oid 2.0的键盘,在HTC Sense的键盘,SwiftKey,Swype的,你的名字。每个人可以自行决定是否要添加的.com键(或完全忽略 inputType )。

There is no "default" really. android:inputType is merely a hint for your IME. Now that IME could be the stock Android 1.1 keyboard, the Android 2.0 keyboard, the HTC Sense keyboard, SwiftKey, Swype, you name it. Each one can decide for itself whether or not to add a ".com" key (or to entirely ignore inputType).