我怎么能写的性格和放大器;在机器人的strings.xml [英] How can I write character & in android strings.xml

查看:161
本文介绍了我怎么能写的性格和放大器;在机器人的strings.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了的strings.xml文件中的以下内容:

I wrote the following in the strings.xml file:

<string name="game_settings_dragNDropMove_checkBox">Move by Drag&Drop</string>

我得到了以下错误:

I got the following error:

The reference to entity "Drop" must end with the ';' delimiter.

我怎么能写的性格和放大器;在的strings.xml?

How can I write character & in the strings.xml?

推荐答案

恩code的:

&amp;

这篇关于我怎么能写的性格和放大器;在机器人的strings.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆