如何使用 ConstraintLayout Flow 对齐元素

How to align elements using ConstraintLayout Flow

我正在使用 ConstraintLayout Flow 想要创建如下布局

但无法使用 ConstraintLayout Flow 实现上述效果,我的布局如下所示

下面是我的代码

        <androidx.constraintlayout.helper.widget.Flow
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/imgAiport"
        app:constraint_referenced_ids="tvDateLbl,tvTimeLbl,tvAirlineLbl,tvDate,tvTime,imgAirlineLogo"
        app:flow_wrapMode="aligned"
        android:layout_margin="15dp"
        app:flow_maxElementsWrap="3"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>

如何使用 ConstraintLayout Flow 正确对齐元素

我认为这里唯一的选择是将所有这些 TextView's 设置为同一个宽度大小,并在开始时使用文本引力。