I have the following issue. I have an edit text where the user puts in the movie name. If the user presses enter I want the focus to go to the next edittext, where the user types the description of the movie. I do not want the user to be able to put a movie title with two lines, ie I want it all on one line without enter. However when I use android:singleLine="true", or android:maxLines, the movie title is printed on one line, but if the movie title is long it will not be all displayed at once (have to scroll across). I want the edittext to grow in height to numerous lines if necessary, but I don't want the user to use enter to make new lines. How do I do this. Here is my code:
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Movie title"
android:textSize="15sp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:id="@+id/et_AddMovieTitle"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Movie description"
android:textSize="15sp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:id="@+id/et_AddMovieDescription"
/>
Thank you