在HTC的设备imeoptions [英] imeoptions on HTC devices
问题描述
我看不到imeoptions喜欢做,像HTC的设备,而同样的code正常工作与摩托罗拉公司。
I cannot see the imeoptions like done and like on HTC devices while same code works fine with Motorola.
下面是code
<TableRow>
<EditText android:hint="Name"
android:id="@+id/name"
android:background="@drawable/chegg_topcorner_rounded"
android:layout_width = "50dp"
android:layout_height="wrap_content"
android:gravity ="left"
android:paddingLeft = "10dp"
android:paddingTop = "9dp"
android:paddingBottom = "9dp"
android:imeOptions="actionNext"
android:textSize="14dp"
>
</EditText>
</TableRow>
谁能帮助。
Can anyone help.
在此先感谢
推荐答案
如果用像imeoptions做到你的意思是操作按钮,HTC Sense的似乎并不支持动作按钮,除了它自己的目的。软键盘不要求支持的动作按钮,这样你就不能假设它存在任何特定的设备,甚至是任何给定用户(如果他们下载并使用的是第三方的软键盘)。
If by "imeoptions like done" you mean the action button, HTC Sense does not appear to support the action button, except for its own purposes. Soft keyboards are not required to support the action button, so you cannot assume it exists on any given device, or even any given user (if they downloaded and are using a third-party soft keyboard).
BTW,源$ C $ C,当你把它粘贴到一个问题,突出显示它并选择工具栏按钮看起来像一组二进制数字编辑器上方 - 这将确保code被格式化作为源。特别是,如果你粘贴XML和不这样做,它不会显示出来。
BTW, for source code, when you paste it into a question, highlight it and choose the toolbar button above the editor that looks like a set of binary digits -- that will ensure the code gets formatted as source. In particular, if you paste in XML and do not do this, it does not show up.
这篇关于在HTC的设备imeoptions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!