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 Build a Self-Destructing Message Android App Starting the App Adding the Login Screen

Akshay Shivpuri
Akshay Shivpuri
2,917 Points

Not able to position the palette widgets while adding

Hi there, I tried adding the Text Field, Button and the password field but I'm unable to align them and position them absolutely. Everytime I try adding the password field after positioning the text field, it automatically gets aligned to the top left side of screen and doesn't allow me to place it anywhere else. Here's the screenshot where I'm trying to add the button on the middle of the page but it's only allowing me to add it to the top left corner of the scree. How should I fix it? Reference url: http://goo.gl/OmPjlv

1 Answer

Akshay Shivpuri
Akshay Shivpuri
2,917 Points

Issue resolved. Only had to change the layout and set it to "Relative Layout"