android:maxLines=”1″
allows the text to be multiline but limits the height of edittext to display a single line.
If you want to disable the enter (new line) key, set the input type to text
android:inputType="text"
android:maxLines=”1″
allows the text to be multiline but limits the height of edittext to display a single line.
If you want to disable the enter (new line) key, set the input type to text
android:inputType="text"