-1
如何在Android字符串資源文件中添加撇號? 嗨! 我想在Android的字符串帶有撇號的Android字符串
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Stack's Answers</string>
</resources>
如何在Android字符串資源文件中添加撇號? 嗨! 我想在Android的字符串帶有撇號的Android字符串
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Stack's Answers</string>
</resources>
加引號(')試試這個方式..
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Stack\'s Answers</string>
</resources>
嘗試:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Stack\'s Answers</string>
</resources>
你必須逃脫html