TonicArtos / StickyGridHeaders

This project has been superseded by SuperSLiM, a layout manager for RecyclerView. I strongly recommend using SuperSLiM and not StickyGridHeaders.
http://tonicartos.com
Apache License 2.0
1.47k stars 441 forks source link

Header and clipChildren #83

Closed zonkzen closed 6 years ago

zonkzen commented 10 years ago

I've noticed that if I add any kind of layout (with e.g. a button inside) as a header and set clipChildren to false, it's still clipping. So let's say the header has 1 dp of height, inside there's a fake button that should be drawn outside of the header (effectively right next to grid items), but it's not. Is there anything special done with the header after it's returned from getHeaderView? I'll go through the code, just wander if it's by design...

TonicArtos commented 10 years ago

Clipping in headers is not honoured at the moment.

zonkzen commented 10 years ago

Do you have any suggestion on what I could do?

ubuntudroid commented 10 years ago

Any news on when this could get fixed or how one can work around the current behavior?