EditText.setOnKeyListener not working on maxLines EditText

Check this in XML file if use singleLine
singleLine change to maxLines (1 if singleLine)
declare inputType

        android:maxLines="1"
        android:inputType="text"
This entry was posted in Android Examples Code, Bugs, warnings, errors and tagged , , . Bookmark the permalink.


Comments are closed.

460 views