Android開發之路UI篇:ConstraintLayout

個人公衆號: 定期更新。一起交流學習吧 1、簡介: ConstraintLayout是由AndroidStudio2.2推出一套新的佈局。它是爲了解決佈局嵌套的問題,並且 增加可視化編輯的xml文件。 2、基本使用:  1:相對定位: layout_constraintLeft_toLeftOf    將控件 A左邊的約束 置於控件 B的左邊的方向上。AB左對齊 layout_constraint
相關文章
相關標籤/搜索