I am using four EditText in two Linearlayout with horizontal orientation. Each linearlayout has 2 edittext. if edittext1 has focus and I press enter key, the focus goes to edittext3 instead of edittext2.
Here is my code; <LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="fill_parent" > <EditText android:id="@+id/editText1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="textPassword" android:layout_weight="1.0" ></EditText> <EditText...................................................................................This edit text does not receive focus android:id="@+id/ editText2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="textPassword" android:layout_weight="1.0" ></EditText> </LinearLayout> <LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="fill_parent" > <EditText android:id="@+id/ editText3" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="textPassword" android:layout_weight="1.0" ></EditText> <EditText android:id="@+id/ editText4" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="textPassword" android:layout_weight="1.0" ></EditText> </LinearLayout> Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en