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 trialAndre Zitter
455 Pointsi get by : findViewById(R.id.RelativeLayout) , the error :cannot resolve symbol relativeLayout
I noticed at in component tree that the word RelativeLayout is spelled with a higher case R instead of lower case could that be the problem ?
1 Answer
Suleyman Orazgulyyev
Courses Plus Student 5,798 PointsHello,
You should go to your XML file, or your design view, select your relative layoit, and check the id. Or set it yourself. And I think it's better to avoid capitals with id's.