I have a textView and I am pasting s string as it’s text and in which I have some “double quote characters” How can I escape these characters.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Backslashing double quotes will not work in a XML layout. You should use the HTML-code (quot), like this:
The above code will display a TextView containing:
XML has 5 of these predifined entities: