React Native android:如何在按下"actionNext"键盘按钮后选择下一个TextInput?

tal*_*952 6 android react-native

我对Android使用react native,我想用像这里的"next"选项编辑一堆TextInput(ios版本):https: //github.com/facebook/react-native/pull/2149#issuecomment-129262565

在此输入图像描述

我试过了:

<TextInput
    style = {styles.titleInput}
    returnKeyType = {"next"}
    autoFocus = {true}
    placeholder = "Title"
    onSubmitEditing={(event) => { 
    this.refs.SecondInput.focus(); 
  }}
/>

<TextInput
ref='SecondInput'
style = {styles.descriptionInput}
multiline = {true}
maxLength = {200}
placeholder = "Description" />
Run Code Online (Sandbox Code Playgroud)

但键盘是关闭和打开的,这很烦人.

来自/sf/answers/349956071/我明白在原生Android应用程序中我会使用:

android:imeOptions="actionNext"
Run Code Online (Sandbox Code Playgroud)

有没有办法做到这一点?