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.