Set multi-line for EditText's HINT

后端 未结 5 1942
闹比i
闹比i 2021-02-14 08:03

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

5条回答
  •  我寻月下人不归
    2021-02-14 09:01

    unbelievable but true: setting the long text programmatically instead of setting it in the xml did the trick.

    Set the text programmatically:

    mEditTextRemark.setHint(R.string...);
    

提交回复
热议问题