How I can remove the unnecessary top padding of the Navigation view?

前端 未结 5 1811
面向向阳花
面向向阳花 2020-11-28 10:08

There\'s an unnecessary top padding between the header and the first item shown in this picture.

\"enter

5条回答
  •  醉酒成梦
    2020-11-28 10:26

    NavigationView seeks to match the material design specs for the navigation drawer which state an 8dp space between content areas. Generally there are no ways to override NavigationView to specifically break the specifications.

    material design specs

提交回复
热议问题