如何写字符&在android strings.xml中 [英] How to write character & in android strings.xml
本文介绍了如何写字符&在android strings.xml中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在strings.xml
文件中写了以下内容:
I wrote the following in the strings.xml
file:
<string name="game_settings_dragNDropMove_checkBox">Move by Drag&Drop</string>
我遇到以下错误:
The reference to entity "Drop" must end with the ';' delimiter.
我该如何写字符& ;?在strings.xml中?
How can I write character & in the strings.xml?
推荐答案
对其进行编码:
&
这篇关于如何写字符&在android strings.xml中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文