我有一个很长的文本,需要按照要求 float 在编辑文本上。我在这里经历了很多这样的问题,但找不到正确的答案。我们如何才能做到这一点?我尝试过使用带有提示字符串的“\n”,但它不起作用。
最佳答案
you can add \n without giving any space. example shown below
<string name="hint_manish">Hint first line\nHint second line\nHint third line</string>
关于android - TextInputLayout 中的多行提示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49552926/