Set multi-line for EditText's HINT

后端 未结 5 1910
闹比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:02

    Try this:

    String.xml

    Hint first line \n Hint second line \n Hint third line
    

    Layout.xml

     
    

提交回复
热议问题