I have an EditText but I want only one line. I put lime this
1
Because of different Android versions, the best practice is to include these parameters at the same time:
1 1 true
If you don't, it will not work correctly on some devices.