I'm trying to get the same grid in the below image using the Flow which is part of ConstrainLayout

My code is as below
<androidx.constraintlayout.helper.widget.Flow
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:constraint_referenced_ids="v1,v2,v3,dummyView,v4,v5"
app:flow_horizontalGap="10dp"
app:flow_verticalGap="10dp"
app:flow_horizontalStyle="spread_inside"
app:flow_maxElementsWrap="2"
app:flow_verticalAlign="top"
app:flow_wrapMode="chain"/>
<View
android:id="@+id/v1"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="1"/>
<View
android:id="@+id/v2"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="1"/>
<View
android:id="@+id/v3"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="2"/>
<View
android:id="@+id/dummyView"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="0"/>
<View
android:id="@+id/v4"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="1"/>
<View
android:id="@+id/v5"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="1"/>
With this approach I got the almost the same bet with a horizontal gap after v3 as below

Is there any one has a worked solution with Constraint Flow please ?
