ConstraintLayout views in top left corner
As stated in Constraint Layout guides: If a view has no constraints when you run your layout on a device, it is drawn at position [0,0] (the top-left corner). You must add at least one horizontal and one vertical constraint for the view. I guess you haven’t applied any constraints. Either manually apply constraints to … Read more