【发布时间】:2012-04-30 11:34:11
【问题描述】:
我需要在android:text = "<<" 中插入“
Multiple annotations found at this line:
- [I18N] Hardcoded string "<<", should use @string resource
- The value of attribute "android:text" associated with an element type "Button" must not contain the '<'
character.
你能告诉我如何在xml文件TextView文本中插入&lt;&lt;吗?
【问题讨论】:
-
仅供参考,如果您在 Eclipse 中有 ADT 19,并且如果您为
android:text键入 << 替换为&lt;&lt;