Navigation Drawer remove horizontal start & end padding

You can use

  1. For the icon start/left padding

    Programmatically

     navigationView.setItemHorizontalPadding(0);
    

    XML

     app:itemHorizontalPadding="0dp"
    
  2. For the icon end/right padding

    Programmatically

     navigationView.setItemIconPadding(0);
    

    XML

     app:itemIconPadding="0dp"
    

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top