Skip to content

Zoom not working inside Scrollview/Nested Scrollveiw #41

@PlaystoreApp

Description

@PlaystoreApp

zoom not working inside the scrollview and the gesture not responding inside the scrollview/Nested scrollview

please find the below code: and also tested with CropperView also its not working the view is now just an image view. Not working in scroll sconatiner

   <android.support.v4.widget.NestedScrollView
    android:layout_width="match_parent"
    android:layout_height="match_parent">

     <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <FrameLayout
            android:id="@+id/frame_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <com.fenchtose.nocropper.CropperImageView
                android:id="@+id/cropper_view"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/transparent_purple"
                app:nocropper__grid_color="@color/colorAccent"
                app:nocropper__grid_opacity="0.8"
                app:nocropper__grid_thickness="0.8dp"
                android:nestedScrollingEnabled="false"
                app:nocropper__padding_color="@color/transparent_purple" />

            <android.support.v7.widget.AppCompatImageView
                android:id="@+id/snap_button"
                android:layout_width="@dimen/margin_30"
                android:layout_height="@dimen/margin_30"
                android:layout_gravity="bottom|start"
                android:layout_margin="@dimen/margin_20"
                android:src="@drawable/ic_image_enlarge" />

        </FrameLayout>

    </LinearLayout>
</android.support.v4.widget.NestedScrollView>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions