It is necessary to display quotes in the text, how correctly, it is necessary to register in the string resources, so that the quotes are displayed on the screen?

There is a line like this:

<string name="dialog_popup_screen_on">Only when screen "on"</string> 

I tried:

 <string name="dialog_popup_screen_on">Only when screen &quot; on &quot;</string> 

But quotes are not displayed.

    1 answer 1

    For quotes that single, double need \" and \' .

     <string name="dialog_popup_screen_on">Only when screen \"on\"</string>