How do you write & in string.xml?

Asked 2 years ago, Updated 2 years ago, 38 views

From string.xml <string name="game_settings_dragNDropMove_checkBox">Move by Drag&Drop</string> I did it like this.

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

Can't I use & characters in string.xml?

string android special-characters

2022-09-21 23:12

1 Answers

&amp; You can write it like this.


2022-09-21 23:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.