This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints
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
![](https://ask.qcloudimg.com/http-save/yehe-6484982/6364fa67ef580cbe794aea82f3614e7a.png?imageView2/2/w/1620)
解决方案:
选中控件,点击上面的魔法棒
![](https://ask.qcloudimg.com/http-save/yehe-6484982/e121337183785d2d6326593ee9812595.png?imageView2/2/w/1620)
解决:
![](https://ask.qcloudimg.com/http-save/yehe-6484982/55aa506c28e58b5a6c74a89e697182f5.png?imageView2/2/w/1620)