Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App Creating the Screen Layout Adding a Button

In my android i see a clear description of how want my app to look but when i run the button is on top of my text

my android studio design shows a very good and clear display of how my app is gonna look but when i run it in my emulator and tab i find my button over the text field which is also out of position

3 Answers

Ashraf Rahman
Ashraf Rahman
6,111 Points

have a look at your constraints, you may be missing some

i only did what was told in the above video ...is it maybe because i have the latest development kit and not the one they are using...

my new version has a lot more coding added like tools:layout_editor_absoluteX....which is not present in the video....please help me