Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an existing android app. I wanted to change the its menu structure, without disturbing the existing code. For this I added 2 new java files and relative xmls in the existing project and updated the manifest.xml with the new starter activity.

The issue which I am facing is in the java code, I am not able to reference the elements of the new xmls(xxx.findViewById(R.id.xxx)) error coming up:"cannot be resolved or is not a valid field"

Please suggest something, I am a newbee

Regards GC
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900