当我在之间添加许多段落时
<string name="bbb"> ...... </string>
[2014-12-22 14:54:55 - Inspiration] Her father rescued her from the heartless husband and she was back her to the [2014-12-22 14:54:55 - Inspiration] G:\adt-bundle-windows-x86_64-20140702\workspace\Inspiration\res\layout\activity_women.xml:11: error: Error: No resource found that matches the given name (at 'text' with value '@string/Women1').
解决方法
试试这个
<string name="Your string name" > This is your string. This is the second line of your string.\n\n Third line of your string.</string>
这将导致TextView上的以下内容:
This is your string. This is the second line of your string. Third line of your string.
原文地址:https://www.jb51.cc/android/309704.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。