I have a layout that the user needs to write their details in some editText that is placed in a vertical linearLayout.
however, every time the user needs to open the keyboard, write something on editText, and then click on the "Back" button in android and again click on the next editText and write its details again and again.
I want to implement this, instead of opening and closing the keyboard, instead of the enter button on the keyboard, I will have the next button, which, after the user enters his details into the spesific EditText, he will go to the next EditText without closing and open the keyboard each time.
I saw that there are some applications that have this feature, however I have not found how I can implement it
thanks alot
here is an example of my layout:
<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>
source share