垂直方向
layout_constraintBaseline_toBaselineOf 文本基线对齐
这个不能对齐的话就
app:layout_constraintBottom_toBottomOf="@id/tv_2"
app:layout_constraintTop_toTopOf="@+id/tv_2">
上边对齐他上边
下边对齐他下边
如果左边竖着两个View 右边的view要在这两个View垂直居中
那么就右边的View上边对齐左边最上方的边,下边对齐左边最下方的边
app:layout_constraintTop_toTopOf="@+id/tv_1"
app:layout_constraintBottom_toBottomOf="@+id/tv_2"
水平方向同理
![240](https://cdn2.jianshu.io/assets/default_avatar/8-a356878e44b45ab268a3b0bbaaadeeb7.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)