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

yousif alyousif
yousif alyousif
2,322 Points

the button and the text position is not moving when i change the position in android studio ?!!

i am trying to adjust the position of the text and the button but it is not moving in the emulator even if i change it from the design window ?!

1 Answer

Ashraf Rahman
Ashraf Rahman
6,111 Points

have you tried readjusting the constraints? assuming you have the latest version installed, you can display the blue print version of the layout and re-arrange the views via editing the alignment, or you can simply remove the view and add a new one. sometimes i get lucky and just simply restart the application.

yousif alyousif
yousif alyousif
2,322 Points

yep the text is moving on both screens the white and the blue but when you press run for the project they all become stacked above each other on the same spot !!! i do not know if it is a Linux bug or it is just an option in the program !