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!
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
Need help with activity_main.xml
I was is the activity_main.xml in eclipse and I accidentally deleted all the code in it. I tried closing it and reopening eclipse but it automatically saved it for me. Can someone help me with the code I need?
Damian Ison6,398 Points
What did you have in the code?
You could start a new project and simply copy the code over from the activity_main in the new project into your current one and then re-add your text views and whatever else you have.
Just ensure that the string name will match to the code