Android development uses the string.xml file in the value directory to save global string variables to facilitate support for multiple languages. What to do with line breaks and spaces in a line of characters, adding carriage returns and spaces directly between "string name="xxx" and "/string" will not work. No way, only escaping. [PS: Add a carriage return directly or cause the text message to not be displayed] I found the special characters such as spaces and newlines in the XML file. However, pressing this input is not ideal, spaces can be displayed, but line breaks are invalid. If you want to think about it, directly use the classic "\" of C language to directly escape the meaning, and the result is OK. ( ) Sometimes the most primitive things are often the most effective. Peek Braided Sleeve,Cable Sleeve,Heat Resistant Braided Sleeving,Braided Wire Wrap Shenzhen Huiyunhai Tech.Co., Ltd. , https://www.cablesleevefactory.com