【发布时间】:2011-03-04 10:37:04
【问题描述】:
我在strings.xml 文件中写了以下内容:
<string name="game_settings_dragNDropMove_checkBox">Move by Drag&Drop</string>
我收到以下错误:
The reference to entity "Drop" must end with the ';' delimiter.
如何在 strings.xml 中写入字符 &?
【问题讨论】:
-
在android studio中,您只需按
Alt+Enter,它就会为您转换。
标签: android string special-characters