I have an EditText but I want only one line. I put lime this
1
You can set the input type to textEmailSubject. I head the same issue and it solve it!