How to write character & in android strings.xml

android, special-characters, string

Solution

Encode it:

&

Problem

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. ``` How can I write character & in the strings.xml?

Original source