当我在布局文件夹中创建一个子文件夹,并将一个 xml 文件拖到其中时,生成的 R 文件似乎没有显示该子文件夹。 a) 有没有办法改变 b) 文件和文件结构是否仍然由 SVN 获取和 c) 所以,如果我这样做,我仍然可以只使用布局来引用对象吗?
最佳答案
When I create a subfolder in the layout folder, and drag an xml file to it, the generated R file doesn't seem to show the subfolder
那是因为安卓不支持。您不能有资源的子文件夹。
不过,PHP_Jedi 的建议很好(例如,svn:ignore
)。
关于android - 您可以将子文件夹添加到 Eclipse Android 项目中的布局吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2547100/