Why is everything in one heap in the Android Studio emulator?

Issue

I am learning Android Studio.

Making a calculator.

Why is everything (Summ button and fields for num 1, 2 and result) in one heap in the Android Studio emulator?

enter image description here

Solution

Your xml layout information would probably help with diagnosing problems, Unconstrained views will all appear in top left corner.
if using constraintLayout, drag views to desired position in design View and set constraints, or use the magic wand.
Hope that helps ):

Answered By – 152Chase

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published