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 trialUziel Cohen
4,318 Pointsbackground color in Android Studio 2.3
Hello! In Android Studio 2.3, the parent layout is called ConstraintLayout and not RelativeLayout as discussed in the video . In the ConstarintLayout, i can not find a property which i can define a background color. Except, probably with the XML code.
Should i keep looking for that property in the Design mode?
2 Answers
Scott Junner
9,010 PointsAndroidStudio 2.3 lays out the screen and all your tools differently than what you are seeing in the video, so it will be understandably confusing (Took me a little while to find things too).
In Design Mode, on the far right of the window, you will see the properties panel which will show you a shortened list of properties for the design element you click on.
Across the top of the Properties panel you will see a few symbols toward the right. look for the two arrows (they may be blue). If you hover over that symbol you will get a popup message saying "View all properties". Click on those two arrows to reveal the FULL list of properties and scroll through those to find "background".
Uziel Cohen
4,318 PointsGreat! Thank you very much!