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

https://ibb.co/iBF1Fk

1 Answer

Ben Deitch
STAFF
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.