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

Fact text view bug

My fact TextView is alligned top , but I did everything what Ben did in the video, still cant fix the position of the TextView . (Also I write in the design of that TextView's width to be match parent but it fixes it self for 368dp) everything was okay with the old version of Android Studio, but this newer version is pretty buggy.


1 Answer

Ben Deitch
Ben Deitch
Treehouse Teacher

Hey Amiko! Android Studio recently updated to use a ConstraintLayout as the default layout, and I think this might be causing your issue. Here's a link to the FunFacts layout file on GitHub that you can use to make sure yours is correct.