如何显示在Android的对话框版权符号? [英] How to show the copyright symbol in a Android dialog?

查看:159
本文介绍了如何显示在Android的对话框版权符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要显示版权符号:©的AlertDialog的消息中。我设置一个字符串值,在RES /串版权符号。但符号显示为问号的对话框打开时。我怎样才能正确显示在对话框中的版权符号。谢谢你。

I have to show copyright symbol: © in the message of an AlertDialog. I set a string value with the copyright symbol in res/string. But the symbol is shown as a question mark when the dialog opens. How can I correctly show the copyright symbol in the dialog. Thanks.

推荐答案

您还可以使用统一code字符这样的:\ u00A9 2010测试

You can also use the Unicode character for this: "\u00A9 2010 Test"

这篇关于如何显示在Android的对话框版权符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆