Search code examples
javaandroidandroid-layoutnavigation-drawernavigationview

Change drawer gap between header group and first item menu


I need change the space between header group and first item menu, here's an example:

enter image description here

I have seen a lot of examples and posts but only be can change the space for all items, and I just need to change only for header group.

Any idea?


Solution

  • Thanks to azizbekian, his answer gived to me a great idea (maybe not the best but in my case more simple and fast to implement). Basically, I add a layout with the same name (this will override it). After that I change all that I need, so the result is this:

    enter image description here

    enter image description here