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 more... (Ctrl+F1)

点击位于上方工具栏的Infer Constraints,即可解决问题。

具体原因待探究。。。 

猜你喜欢

转载自blog.csdn.net/u013247461/article/details/88928449
今日推荐