0

I have a Navigation Drawer menu with

nav_view.inflateMenu(R.menu.main_drawer)

enter image description here

Then I would like to put another submenu in between with

nav_view.inflateMenu(R.menu.main_drawer) 
nav_view.inflateMenu(R.menu.sub_drawer) 

then looks like following

enter image description here

As you can see the special submenu is appende after quit. I owuld like to put it before Quit. Quit should be the last menu item.. as here

enter image description here

I seperated the menu.xml because I want to insert the second R.menu.sub_drawer from library level.. dynamic programatically..

How?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Tranquillo
  • 235
  • 2
  • 13

0 Answers0