This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you

Android Studio报错

这个视图只是编辑时位置,在运行时视图会跳转到(0,0)

解决办法:

在Design界面下,有个魔棒工具,Infer Constrains,点击之后就可以了

原文地址:https://www.cnblogs.com/zhaye/p/10835681.html