how can i add an image header to my navigation drawer layout like this one
In the Navigation Drawer layout xml file. Above drawerView and inside your parent layout add an image view as shown below:
This should be sufficient. Hope this helps.
Use Recycler View to create a navigation drawer. Recycler view is used most now. In your navigation drawer fragment have your layout file as shown below. This make you achieve your objective: