Ich versuche, auf den nächsten Text zu konzentrieren, nachdem der Benutzer eine füllt. Der Code funktioniert einwandfrei mit EditText
, aber wenn ich es auf AutoCompleteTextView
anwenden, funktioniert die Schaltfläche Weiter in der Tastatur nicht arbeite nicht. Der Cursor bleibt wo er ist. Dies ist der Code Ich verwende:NextFocusDown funktioniert nicht mit AutoCompleteTextView
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="11" >
<AutoCompleteTextView
android:id="@+id/etLN"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="3"
android:ems="10"
android:nextFocusDown="@+id/etC"
android:inputType="textPersonName" >
<requestFocus />
</AutoCompleteTextView>
<EditText
android:id="@id/etC"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="4"
android:ems="10"
android:hint="0.0"
android:nextFocusDown="@+id/etD"
android:inputType="numberDecimal"
android:text="" />
<EditText
android:id="@id/etD"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="4"
android:ems="10"
android:nextFocusDown="@+id/etLN2"
android:hint="0.0"
android:inputType="numberDecimal"
android:text="" />
</LinearLayout>
Bitte sagen Sie mir, was ist der richtige Weg, dies zu tun. Thanks :)
wenn ich könnte ich würde Ihnen eine Prämie geben .. nicht, dass ich irgendwelche (Ruf) .. immer noch ... vielen Dank @techieWings – chaitanyad
Vielen Dank Kumpel !! –
Ich habe es verpasst. danke für das Reflektieren :) – iroiroys