mzgreen / HideOnScrollExample

This is an example on how to show/hide views when scrolling a list.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hiding actionbar creates a white space below tabbar

arpitkh96 opened this issue · comments

It seems to me that your padding above the list is bigger than the toolbar's height because you have this path bar below the toolbar. And this path bar's height is greater than toolbar's height. I think that you should modify HidingScrollListener class. There is mToolbarHeight variable, try to set it to your path bar's height instead of toolbar height.

That didn't worked. Problem is something different. Related to layout only.

One more strange thing. Headers and dividers of recycler view are visible in that white space but row items arent.

Solved... Padding was the problem

I added header instead of padding