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 trialJordan Phoenix
Courses Plus Student 10,202 PointsRelative layout and layout_width
Hello everyone I am having a little bit of trouble with android studio when it comes to two things. First of all, I followed the video step for step, but instead of just "ConstraintLayout" in the component tree, my component tree says "relativeLayout(ConstraintLayout)." Even when my xml is the same as the video, it still comes out as written above.
Also, when I try to change layout_width to 0dp as the video directs, it does not respect the change and automatically switches back to wrap_content. So, anyone know why this is happening, even in Android 3.0.1?
Thanks!