Question

I'm using Android-menudrawer of simonvt ...

in my project we need a top menu that starts directly below a header ....

Now I was able to obtain this structure:

  • -> (ActionBar)
  • -> (MenuDrawer)
  • -> (Content)

Except that I would not use an ActionBar ... since I need to use a layout for the header with a background and actions mapped with hotspots ... like this for example ... :

http://blahti.wordpress.com/2012/06/26/images-with-clickable-areas/

Is there a way to use the menudrawer in an activity composed like this:

  • -> (Header)
  • -> (MenuDrawer)
  • -> (Content)

?

thanks.

Was it helpful?

Solution

You can use the menudrawer via xml, there's even a sample for that. Then you just create a layout that has a header above the drawer.

OTHER TIPS

Yes, use this library: https://github.com/jfeinstein10/SlidingMenu

With this you can use slidingmenu without SherlockactionBar.

To create a header, you can use https://github.com/commonsguy/cwac-merge

With this you can create a custom header and merge with the content.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top