-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
PDFView in a ScrollView #51
Comments
The problem is mainly due to the ScrollView behavior. To swipe horizontally a PDFView, which is in a Vertical Scrollview, motion has to be rigorously horizontal, if its a little UP or DOWN the swipe is stopped... The hack found on internet is to test the motion distance (more vertically than horizontally?):
This is not perfect but it worked. Do you have a better solution? |
I find this another workable solution using ScrollView subclass (my case is in minSDKVersion API 16)
refer: https://stackoverflow.com/questions/17671123/scrollview-inside-a-scrollview-in-android-issue |
Hello,
I need to put the PDFView in a ScrollView, how should I do it?
So far, either the PDFView is not showing or the scroll is not working.
Thank you
The text was updated successfully, but these errors were encountered: