我想在TextView
中写@
符号开头的文本。但是,当我在两个地方将其编写为硬编码并使用字符串资源时,错误显示missing /
.当我在@
之前键入一些字符时,它工作正常。但是,我想在开头写它。如何实现这一点?
像这样使用它@
<string name="character">@ character</string>
或者您可以使用 Unicode 字符