If you donβt want multiple lines to just add
android:singleLine="true"
else, please use this solution
<EditText android:id="@+id/commentsEditText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10dip" android:imeOptions="actionNext" android:lines="5" />
I added
android:imeOptions="actionNext"
this line additionally, use this in each EditText that you want to have the next button on the softkey bar
Shankar
source share