florent37 / MaterialViewPager

A Material Design ViewPager easy to use library
https://www.fiches-plateau-moto.fr
Apache License 2.0
8.14k stars 1.48k forks source link

set fragment fill_parent below MaterialViewPager #209

Open toonvanstrijp opened 8 years ago

toonvanstrijp commented 8 years ago

Heey ya!!!

Im trying to set a fragment fullscreen but below the MarerialViewPager but i end up with this (see picture below)

Is there some way to fix this? Cause i can set a margin but when i scroll on the other fragment the toolbar is hiding... and if i go back to the previous page the content isnt matching... Soowwww is there someone who can help me ;) let me know screenshot_2016-01-19-00-17-00

ashutosh5890 commented 8 years ago

I am also facing the same problem...if anyone has solved this plz let me know :)

willu2 commented 8 years ago

What adapter do you use?

Alchimehd commented 8 years ago

Hello, I'm facing the same problem, using the Fragment Pager Adapter

Alchimehd commented 8 years ago

Hello, I'm facing the same problem, using the Fragment Pager Adapter

willu2 commented 8 years ago

If you are using another adapter, you have a problem. You must use RecyclerViewMaterialAdapter, from this library, but this is close class and you can't add some update methods for update your data from db or else. So you can create enother adapter and extends RecyclerViewMaterialAdapter.