Android strings.xml文件中字符串添加空格符 发表于 2016-05-03 | 分类于 Android ============================ 参考:How to put space character into a string name in XML? 空格符的转义字符为 ,所以可以在strings.xml文件中添加空格符:1<string name="test_string_with_space">  This is a line with two spaces.</string> 在这一行的开头加入了两个空格符。