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 (retired 2014) Pretty Little Things Positioning Text Using a Linear Layout

When I add the textView to the LinearLayout, it jumps automatically to the top of the screen and I can't move it. Help?

I don't understand what I'm doing wrong? Whenever I try to move it down, eclipse just highlights "Min Height" but doesn't do anything....

1 Answer

one way to fix this is to go to the XML layout, and then change the height and width properties. You can experiment here to find the position that is right for you. Another solution is to delete the current Textview and put another one in that always helps me. Also, are you using Eclipse? if you are I recommend switching to Android Studio as it is much better, even though it is only in Beta version. You can follow along with all the courses just as easily.

thanks! I ended up just putting in a new textView. I'll try android studio out haha x.x