正如标题所说,我的问题是我不知道如何/如何在string.xml中的字符串资源中使用字符串资源。我可以在string.xml中的字符串资源中使用字符串资源吗?
<string name="projectname">Include Test</string>
<string name="about">@string/projectname is to test if you can use a String Resource in a String Resource</string>
我的问题是,如果有人知道,如果我能写
<string name="identifier">@string/other_identifier</string>
因为Eclispe的说
error: Error: No resource found that matches the given name (at 'other_identifier' with value '@string/other_identifier eingeben...').
这个问题是真的[此的其他问题(的副本http://stackoverflow.com/questions/3722374/android-how-to-inject-a-string-元素到另一个字符串元素在xml),并且它接受的答案似乎是th最好的方法。感谢@Brian指出这一点, – cybersam