Use Custom Layout in NavigationDrawer With Header And list
问题 How to do add custom layout in NavigationView and design my create custom NavigationView use material design,i want put my drawer icon to right and text left of it something like this 回答1: I Search too much and this is my experience that works fine at first create layout for header. its name is nav_header_main.xml then put it in layouts folders in res and put this code in it.. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"