Subfoldering the layout folder

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

Subfoldering the layout folder

Postby blundell » Tue Nov 18, 2008 4:56 pm

I'm trying to create subfolders in the layout folder to organsie my xml files a bit better. Is this possible? everytime I do it I get comp errors.

i.e. I used to have /layout/addevent.xml

therefore
Code: Select all
setContentView(R.layout.addevent);


would work.

However now I have /layout/events/addevent.xml

and
Code: Select all
setContentView(R.layout.events.addevent);
won't work.

Am I doing it wrong? or isnt it possible?
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Postby MrSnowflake » Tue Nov 18, 2008 6:44 pm

I don't think this is possible.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests