I know that I could change the No. of lines for EditeText\'s Text, yet could I change that of EditText\'s hint as well?
I could not find a solution online.
Thank
Nothing worked for me but:
To be honest I don´t understand why.. but including "\n" as hint in the xml did the trick!
Now you can call setHint from Java code:
searchEditText.setHint(getString(R.string.search_hint));
and remove the \n from strings.xml if you want to allow the text split automatically according to the room
keyword, location, max price (e.g. 1K, 1M)