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.
如何插入 Unicode 符号来编辑文本?在 iOS 中,我们可以通过指定代码来做到这一点,即\U0001F68Aandroid 呢?
\U0001F68A
editText.setText("\u00A9 2013 by John Smith");
将版权符号后跟“John Smith 的 2013”放入 EditText 编辑文本中。
editText.getText().append("\uD83D\uDE0A");