-
Notifications
You must be signed in to change notification settings - Fork 240
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
Flexible CollapsingToolbarLayout height in SmoothViewPagerParallaxExitUntilCollapsedActivity #202
Comments
Hi @dan-huang, Please try to set Cheers, |
Hi @henrytao-me , Tried but the gap is still there.. |
Hi @dan-huang, I see what you mean. Cheers, |
Thanks anyway, @henrytao-me. |
Hi @dan-huang I don't get what you mean |
Hi @henrytao-me I mean, When SmoothAppBarLayout height changed, each scrollView in ViewPager change it's padding accordingly. Looking forward to the upcoming release. |
Technically, it's possible. However, it requires a lot of works in java code. Maybe you need to have some sort of event bus to synchronize height or some static variables or some custom callbacks. |
Thanks a lot.~ I'll try. |
Using the demo SmoothViewPagerParallaxExitUntilCollapsedActivity, I want to set CollapsingToolbarLayout height to: wrap_content. And add a textView with flexible height. Here I set the height to 100dp.
But there is a 156dp gap between TabLayout And RecycleView in ViewPager. How to avoid the gap or overlap when CollapsingToolbarLayout is not 256dp height?
The text was updated successfully, but these errors were encountered: