This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime

This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime

Android Studio添加控件出现This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints

image.png解决方案:

选中控件,点击上面的魔法棒

image.png

解决:

image.png