cricklet/Android-PanesLibrary

Menu fragment not hiding when other fragments fill the screen

Closed this issue · 2 comments

I just started to integrate this library into my app and it is AMAZING. The only issue I appear to be having is that the menu fragment is not sliding off of the screen once other fragments should push it out. In fact, the subsequent fragments slide over on top of the menu fragment.

Screenshot_2013-02-26-04-28-29
Screenshot_2013-02-26-04-28-38

Any suggestions would be appreciated, or let me know if I can provide more information for debugging.

App Code can be found at: https://github.com/dnsdotcom/DNSDroid

I think I know what the problem is. The content panes have transparent backgrounds, so when they slide over the menu, they don't cover it up. If you give each fragment a background color, then it'll work. I'll try to think of a better way of dealing with the problem.

Excellent!!! That was a simple fix! Thanks for getting back to me so quickly!!!