【发布时间】:2011-05-23 15:22:14
【问题描述】:
我有一个大的EditText 盒子。我希望框中的提示看起来像这样(不打算突出语法):
Hint about the first line
Hint about the second line
Hint about the third line
我尝试在 EditText 上使用 android:hint="@string/hints",并在 strings.xml 中使用以下内容,但提示仍在单行上。
<string name="hints">
Hint about the first line
Hint about the second line
Hint about the third line
</string>
如何在EditText 中获得多行提示?
【问题讨论】:
-
我在这里找到了解决方案stackoverflow.com/questions/28060772/…