ConstraintLayout 所有属性
1、基础值(以下是经常用到的值,很有规律) layout_constraintLeft_toLeftOf :当前View的右侧和另一个View的右侧位置对齐,与RelativeLayout的alignLeft属性相似 ***layout_constraintLeft_toRightOf ***:当前view的左侧会在另一个View的右侧位置 与RelativeLayout的toRightOf属性相似 layout_constraintRight_toLeftOf :当前view的右侧会在另一个View的左侧位置 与RelativeLayout的toLeftOf属性相似 layout_constraintRight_toRightOf :当前View的右侧和另一个View的右侧位置对其,与RelativeLayout的alignRight属性相似 layout_constraintTop_toTopOf :头部对齐,与alignTop相似 layout_constraintTop_toBottomOf :当前View在另一个View的下侧 与below相似 layout_constraintBottom_toTopOf :当前View在另一个View的上方 与above相似 layout_constraintBottom_toBottomOf :底部对齐