constraintlayout icon indicating copy to clipboard operation
constraintlayout copied to clipboard

Flow: Support of scroll required if elements not fit in app:flow_wrapMode="none"

Open airtel121 opened this issue 2 years ago • 0 comments

I am using flow like below,

<androidx.constraintlayout.helper.widget.Flow
        android:id="@+id/flow_slide_menu"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:orientation="vertical"
    app:constraint_referenced_ids="rg_home,rg_dash,rg_exam,rg_jee_neet,rg_analytics,rg_password,rg_create_class,rg_my_classes,rg_setting,rg_about,rg_contact,rg_forum"
        app:flow_verticalBias="0.0"
        app:flow_verticalGap="1dp"
        app:flow_verticalStyle="packed"
        app:flow_wrapMode="none"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="@+id/side_view"
        app:layout_constraintStart_toStartOf="@+id/side_view"
        app:layout_constraintTop_toBottomOf="@+id/top_view" />

In app:flow_wrapMode="none" i wanted to scroll the elements if it's not fit in screen. But it's not happening i tried by adding flow in scrollview also.

airtel121 avatar Apr 11 '22 13:04 airtel121