2020.09.20
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

年份
2020
分类
安卓
阅读

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