Text and elements are all at the top of the screen.
When ever I test my app on my phone all the text and buttons are at the top of the screen jumbled together, but the preview in Studio is not like that. I tried changing the screen size on Studio to match my phone's screen but that still hasn't worked. http://prntscr.com/fs0mqv There is the studio picture and here is the one on my phone. http://prntscr.com/fs0nfg
Suleyman OrazgulyyevPro Student 5,797 Points
What layout are you using? Is it the Coordinator Layout?
Ben JakubenTreehouse Teacher
Paste in your layout code from
activity_main.xml and we can try to help you troubleshoot.
Osvaldo RestrepoPro Student 483 Points
Hello dude, I am a newbie. But that happened to me. What you have to do is in the Design View. When you click each element, some little dots appear on each side. You have to drag them to each side of the screen. An arrow in zigzag must appear on each side. That's the constrain.