Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我熟悉在 textview 中使用 \n 在第二行显示,但是我想在我的 textview 中显示 /。尝试显示“C:\directorya\directoryb\”时,我在 Eclipse 中遇到转义错误,是否有我应该用来显示 \ 的代码?
是的,使用\\. 一个\逃脱第二个,所以它显示一个\字符。
\\
\