Closed johnwatsondev closed 9 years ago
The layout file still needs its direct parent to be a layout folder. Here, the 'activity' folder is being treated as a resource folder (see how the folder icon changed). Try declaring a res folder 'src/main/res/activity' and then add a layout folder, and then add the layout file to that.
@eskimoapps YES. It worked. Thanks for your patient help!
Well I'm getting exact the same problem!!
/src/main/res/layouts
-- /layouts_fragment
-- /layouts_activity
"Try declaring a res folder 'src/main/res/activity' and then add a layout folder, and then add the layout file to that." - Sorry ;)
As you see the SNAPSHOT in my project it cannot identify the layout sub folder any more!