使得子在一个资源文件夹 [英] Making subfolders in a resource folder

查看:135
本文介绍了使得子在一个资源文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能使在资源文件夹的子文件夹中的Andr​​oid项目?我有200张图像(缩略图),我需要在我的项目,我可以将它们添加在绘制-MDPI,但最好还是不要这些图像与其他的混合。像绘制-MDPI - >大拇指 - >这里所有图像

Is it possible to make subfolders in the resource folders in the Android project? I have about 200 images (thumbnails) that I need in my project and I could add them in the drawable-mdpi, but it would be better to not mix these images with the other ones. Something like drawable-mdpi --> thumbs --> all images here.

推荐答案

没有这是不允许的。你只允许做的Andr​​oid文档指定文件夹中。

No this is not allowed. You are only allowed to make folders specified by the android documentation.

允许的子文件夹名称在链接规定。基于Android的这些结构,并把数据夹会导致错误产生R.java。

The allowed sub folder names are specified in the link. Android generates the R.java based on these structures and putting sub folders can cause errors.

这篇关于使得子在一个资源文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆