I wanna organise my code with subfolder into res folder for layout.
I know we cannot create subfolder into layout folder but i can create subfolder into res folder.
Now how can i SetContentView with my new folder.
-res/
---subfolder1_layout
-----sub1_layout.xml
---layout
-----layout.xml
And setcontentView (getClass().getResources("/res/subfolder1_layout/sub1_layout.xml")); does not work.
How can i do that please ?