ConstraintLayout 开发报错:This view is not constrained. It only has designtime positions, so it will jum

ConstraintLayout 在布局中如出现如下报错信息:在这里插入图片描述
此时,你要检查一下ConstraintLayout中的约束条件是否完整
所谓的完整就是水平和垂直的约束都要有

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/zhu522959034/article/details/88537095