java - EditText next Button keyboard -
i have layout user need write detailes in edittext placed in vertical linearlayout.
however, everytime user need open keyboard, write on edittext , click on button in android , again click on next edittext , write detailes , again on , over.
i want implement instead of opening , closing keyboard, instead of enter button on keyboard have next button after user entered detailes on spesific edittext , skip next edittext without closing , opening keyboard every time.
i saw there apps has feature, didnt find how can implement it
thanks alot
here example of 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>
Comments
Post a Comment