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 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