【发布时间】:2018-07-16 04:37:42
【问题描述】:
我尝试了许多不同的方法来获得键盘上的 NEXT 按钮,但没有任何效果。
以下是我关注的几个 Stackoverflow 链接。
- Setting EditText imeOptions to actionNext has no effect
- imeOptions "actionNext" programmatically - how to jump to next field?
我见过很少的 Android TV 应用程序使用下面的键盘进行输入。
知道如何获得它吗?
编辑:
这是我的 XML
<EditText
android:id="@+id/etNric"
android:layout_width="@dimen/three_hundred"
android:layout_height="wrap_content"
android:hint="@string/hint_nirc"
android:singleLine="true"
android:imeOptions="actionNext"
android:maxLines="1"
android:minLines="1"
android:nextFocusDown="@id/etCaptcha" />
【问题讨论】:
-
你能把你的xml贴在你实现了imeOptions的地方吗?
-
@Umair 请检查已编辑的问题
-
检查我的回答你的主要问题是分配 id ... :)
标签: android xml android-softkeyboard android-tv