Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (retired 2014) Getting Started with Android Android Setup and the Crystal Ball Project

activity_main.xml

i am not seeing the activity_main.xml nor a graphical screen with a real time interface to which i can make changes of the apps display or home screen

3 Answers

Theodore Kruczek
Theodore Kruczek
8,800 Points

On the left hand side you should see a list of files. activity_main.xml (assuming you are using default names) is located inside of the "res" directory, inside of the "layout" directory. There should be a triangle next to the "res" folder. Click on it to expand the directory, then do the same for "layout". When you find activity_main.xml, double click and that will bring up the graphical interface.

Thanks for responding but clicking that little arrow at the side would be the least i could try, I've already figured it out, i had to click Project, then new file and manually type in the name of the file activity_main.xml; for those who might have the same problem this is a directory path issue and will cause some of your download to not work. Therefore avoid using multiple sub-folders

Theodore Kruczek
Theodore Kruczek
8,800 Points

Glad you figured it out. Sorry it wasn't as simple as I had hoped.