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 trial

Android

App not laying out correct?

Hi, I followed the video Build a simple Android app. The instructor did a great job of making me understand everything. I am at the video Adding a Button. My app design is exactly like the instructors. My problem is when I run the app in the virtual device it displays the button in the wrong place. It seems to be forcing the button towards the top. What can I look at to fix this? Thanks

2 Answers

if you using constraints layout then you should take care of the the constraints on the sketch and the properties I advice you to watch the video again and see how he use the constraints

Hi, thanks for the help. I am only at the video "Adding a Button" up to this point no info about constraints was given. I googled it and I see how to work with them. It fixed my problem immediately. Thanks