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

Make it compatible it CoordinatorLayout #600

Open
feinstein opened this issue May 17, 2018 · 4 comments
Open

Make it compatible it CoordinatorLayout #600

feinstein opened this issue May 17, 2018 · 4 comments

Comments

@feinstein
Copy link

I wanted to hide the Toolbar when the user scrolls the PDF, the same way a NestedScrollView does, but this doesn't work for PDFView.

It would be great if we could just add @string/appbar_scrolling_view_behavior to the PDFView and it will work with the default behaviors of CoordinatorLayout.

@alexluckyq
Copy link

Looking for the exact same thing. any workaround so far?

@feinstein
Copy link
Author

I am looking at subclassing it and implement NestedScrollingChild2 but I still have to learn more about the whole mechanics behind this

@Cilenco
Copy link

Cilenco commented Sep 26, 2019

I have implemented it and created a pull request for this #827

@fernandoColladoDL
Copy link

Does it work by adding app: layout_behavior = "@ string / appbar_scrolling_view_behavior" to the PDFView and placing pdfView.setNestedScrollingEnabled (true) ?

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

4 participants