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 trialRubesha Ahmed
187 PointsComponent tree
I accidentally closed my component tree tab and when I go to view>tool windows the component tree is greyed out so I can't click on it. How do I re-open the component tree?
1 Answer
Kate Dougherty
8,334 PointsI'm using AS 2.3.3. I had to go to the little box in the left corner, then "Structure" (there was no "Design" option). After that, I saw a vertical button for "Component Tree." Then I had to switch from the new default ConstraintLayout -to a relative layout using the instructions in the answer at https://stackoverflow.com/questions/42261712/how-to-switch-from-the-default-constraintlayout-to-relativelayout-in-android-stu. Go the bottom of the property panel & click on "see all properties" to get the background property.
Ben Deitch
Treehouse TeacherBen Deitch
Treehouse TeacherIs there not a tab for it down near the 'design'/'text' tabs at the bottom of your layout (while being on the 'design' tab)? I just collapsed mine, and that seems to be where it went.