I\'m sure this is something dead simple as it\'s my first android app with code (the hello world example I did was just assigning a value to a string in XML). My problem is
Please make sure the xml file you pasted is called main.xml and under layout folder. And try to generate the R file again. That may help.