Android: EditText hint in single line
You can use
android:ellipsize="end"
android:maxLines="1"
to show your hint text in single line but you wont be able to see the whole text because android:ellipsize="end"
truncates the text at the end.
Same issue.
Solution:
EditText.setHint("hint content".replace("\n"," "))