在一个Android字符串资源,我怎么执行的空间?
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.
你有没有尝试围绕你的字符串引号?也许开头和结尾的空格被自动剥离。
Did you try to surround your string with quotes? Maybe leading and trailing whitespaces are stripped automatically.
<字符串名称=福>中条和LT; /串>
见的例子在http://developer.android.com/guide/topics/resources/string-resource.html在一节的逃离撇号和引号的。
See the example at http://developer.android.com/guide/topics/resources/string-resource.html in section "Escaping apostrophes and quotes".