Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoom not working inside Scrollview/Nested Scrollveiw #41

Open
PlaystoreApp opened this issue Jul 12, 2019 · 0 comments
Open

Zoom not working inside Scrollview/Nested Scrollveiw #41

PlaystoreApp opened this issue Jul 12, 2019 · 0 comments

Comments

@PlaystoreApp
Copy link

PlaystoreApp commented Jul 12, 2019

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant