Ich habe ein Layout, das der Benutzer benötigt, um seine detailes in einen editText zu schreiben, der in einem vertikalen linearLayout platziert wird.EditText next Tastenfeld
jedoch muss der Benutzer jedes Mal die Tastatur öffnen, etwas auf den editText schreiben und dann auf die Zurück-Schaltfläche in android klicken und erneut auf den nächsten editText klicken und seine detailes schreiben und immer wieder und wieder.
Ich möchte implementieren, anstatt die Tastatur zu öffnen und zu schließen, anstatt die Eingabetaste auf der Tastatur habe ich eine nächste Schaltfläche, nachdem der Benutzer seine details auf einem spezifischen EditText eingegeben hat, wird es zum nächsten EditText ohne überspringen Schließen und Öffnen der Tastatur jedes Mal.
ich sah, dass es einige Anwendungen, die diese Funktion hat, ich habe nicht jedoch finden, wie ich es
vielen Dank
hier das Beispiel meines Layout umsetzen können:
<LinearLayout
android:layout_width="283dp"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:orientation="vertical" >
<TextView
android:id="@+id/aaa"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="aaaa" >
<requestFocus />
</TextView>
<EditText
android:id="@+id/bbb"
android:layout_width="match_parent"
android:layout_height="36dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="bbb" />
<TextView
android:id="@+id/cccc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="ccc" />
<EditText
android:id="@+id/emailTextGroup"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="textMultiLine" />
<TextView
android:id="@+id/dd"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="ddd" />
<EditText
android:id="@+id/fff"
android:layout_width="match_parent"
android:layout_height="38dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="fff" />
<TextView
android:id="@+id/yyy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="yyy" />
<EditText
android:id="@+id/eeee"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="textMultiLine" />
<TextView
android:id="@+id/yyyy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="iii" />
<EditText
android:id="@+id/ooo"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="textMultiLine" />
<TextView
android:id="@+id/ppp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="ppp" />
<EditText
android:id="@+id/sss"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/text_back"
android:ems="10"
android:inputType="textMultiLine" />
</LinearLayout>
Muss ich zu jedem EditText das Feld hinzufügen: Android: android: nextFocusDown = "+ @ id/next_editText_id? Vielen Dank –
ja die nächste wollen Sie aktivieren ... funktioniert gut für mich. –
danke viel Ich werde es versuchen, auch, wo findet die nächste Taste statt der Eingabe-Taste auf der Tastatur? –