Androidのstrings.xmlに文字&を書く方法 質問する

Androidのstrings.xmlに文字&を書く方法 質問する

ファイルに次のように書きました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 に文字 & を記述するにはどうすればよいでしょうか?

ベストアンサー1

エンコードします:

&amp;

おすすめ記事