For setting the Single Line in EditText we use android:singleLine=\"true\" but I want to set the single line for the Hint Text, it is large and I w
EditText
android:singleLine=\"true\"
Same issue.
Solution:
EditText.setHint("hint content".replace("\n"," "))