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 trialJeff Hamilton
11,724 PointsShowing Constraint Layout instead of Relative Layout.
In the video where it shows Relative Layout in the Component Tree. I instead have Constraint Layout. Unlike Relative Layout It does not give any of the editing options that are shown in the video.
1 Answer
Jen Drake
33,427 PointsHi Jeff,
I had the same problem. Here's how I was able to change the background color.
- In the Component Tree panel, select ConstraintLayout
- In the Properties panel, click on View all properties OR click button with arrows pointing in opposite directions.
- Scroll to Background
- Click on the three little dots to select system colors OR click empty field next to Background to enter a custom value
Hope that helps.
Mateus Rogienfisz
3,380 PointsMateus Rogienfisz
3,380 PointsClick on Constraint Layout, go to all properties and find background. Double click on the empty space after the word ''background''