In an Android string resource, how do I enforce a space?
For example, when I do ” result” rather than “result” I still see “result” in my application’s text view.
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.
Did you try to surround your string with quotes? Maybe leading and trailing whitespaces are stripped automatically.
See the example at https://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling in section “Escaping apostrophes and quotes”.