Android - DrawerLayout and SlidingUpPanel together

I have a main action at the moment that uses DrawerLayout navigation, this can be used to open multiple fragments in FrameLayout, this works fine.

However, now I need to have a SlidingUpPanel for the same action in order to display some media playback controls. The documentation for DrawerLayout and SlidingUpPanel states that each should be the root element in the layout file.

Is there a workaround for this that I am missing?

http://developer.android.com/training/implementing-navigation/nav-drawer.html https://github.com/Cheesebaron/SlidingUpPanel

+4
source share

All Articles