This view is not constrained Android Studio报错 这个视图只是编辑时位置,在运行时视图会跳转到(0,0) 解决办法:在Design界面下,有个魔棒工具,Infer Constrains,点击选择约束