I'm using both SlidingMenu and Crouton, but I've found that the sliding menu overlaps the crouton notification
I would report an issue in github, but I don't know where the bug belongs.
Cyril Mottier mentions in his Prixing article about in-layout notifications the existence of 3 Contexts, the left menu having a Context on its own. That way, the Notification slides with the rest of the content.
Because both SlidingMenu and Crouton use the Activity Context, maybe this simply isn't fixable. We can easily call
Crouton.cancelAllCroutons();
before displaying the SlidingMenu, but I like Prixing's slide-out feature.
Hopefully the library authors can claim the bug or shed some light on it.
Thanks!
EDIT:
I'm using the SlidingMenu by creating the object and attaching it to the activity
private void configureSideMenu() {
mSlidingMenu = new SlidingMenu(this);
mSlidingMenu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
mSlidingMenu.setFadeDegree(0.35f);
mSlidingMenu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT);
mSlidingMenu.setBehindOffsetRes(R.dimen.slidingmenu_offset);
mSlidingMenu.setMenu(R.layout.menu_frame);
getSupportFragmentManager().beginTransaction().replace(R.id.menu_frame, new MySideMenuFragment()).commit();
}
And the Crouton, I guess there's only one way to use it
Crouton.showText(this, R.string.error_not_logged_in, Style.ALERT);
Where this is the same Activity for both cases