String src = "实力认证\\n确保服务品质"; src.replace("\\n", "\n"); 按照上面写法就可以自动换行了。 更多好内容戳下面: https://blog.youkuaiyun.com/wuqingsen1