Possible Duplicate:
Can The Android drawable directory contain subdirectories?
How to organize graphics/java/xml file in folders in android project in eclipse?
I mean – should I (to store graphics) create folder in my ‘drawable-mdpi’ or as a separated folder?
I tried making folder in drawable and calling file by:
@drawable/photo/fileName
also tried making separate folder in /res, and call by:
@photo/fileName
but with no success.
Sadly, you cannot create your own file structure in the
/resfolder… You must use the existing folder structure, like/res/drawable-mdpiand useR.drawable.xxx.You can read about this “bug” here: Android layout folder organization or read the brief explanation straight from a lead Android programmer: Can The Android drawable directory contain subdirectories?.