androidxmllayoutresourcesis-empty

activity_main.xml not in layout folder as well as anything else


I am doing the tutorial for making your first android app and it is saying I need to open the activity_main.xml file in the layout folder.

However, when I open the the layout folder it doesn't have anything in it. There are no files at all.

This is the first bit of programming I am doing. please give me an answer.


Solution

  • If your files are in the disk folder, but aren't showing in Eclipse, then you'll want to refresh the project contents. You can do that by clicking on your project in either the Project or Package window and pressing F5 (or by right-clicking and selecting the Refresh item.)