android:src @drawable/subfolder/xxx

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

android:src @drawable/subfolder/xxx

Postby shaft » Sun Aug 17, 2008 6:09 pm

Hi

I am trying to sort some icons by size within subfolders in res/drawable. If I am referencing to them in a layout xml-file, android won't compile due to an error, that the given name does not match any resource.

Isn't it possible to make use of subfolders inside drawable or am I doing something wrong?

Thank you.
shaft
Freshman
Freshman
 
Posts: 3
Joined: Sun Aug 17, 2008 6:04 pm

Top

Postby Jesmiatka » Mon Aug 18, 2008 7:52 am

It is not possible to use any sub-folders (yet), but the subfolders you can use in the future are folders that have a reference to the type of a phone.

http://code.google.com/android/devel/re ... eResources
Jesmiatka
Senior Developer
Senior Developer
 
Posts: 164
Joined: Mon Feb 04, 2008 3:37 pm
Location: Netherlands

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests