How to display double quotes(“) symbol in a TextView?

In the strings.xml, you can simply escape special characters (eg double quotes) with a backslash :

"message \"quote string 1\" and \"quote string 2\" end message"

But in views xml (eg layout.xml), you have to use HTML character entities (like ") :

"message "quote string 1" and "quote string 2" end message"

For more, visit http://developer.android.com/guide/topics/resources/string-resource.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)