开发者

How to put this symbol: " ' " (simple Quotation mark) in a XMLfile of android?

i am translating some text into Italian, an i got an error on this line of the XML of the strings.xml because the ' symbol on L'utente:

<string name="usernotexist">L'utente non esiste</string> 

how t开发者_JAVA百科o solve that error?


<string name="good_example">"This'll work"</string>
<string name="good_example_2">This\'ll also work</string>

Taken from the official documentation: http://developer.android.com/guide/topics/resources/string-resource.html


Try this

<string name="dialog">L\'tutente non esiste </string>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜