How to remove settings option in navigation drawer activity in android studio?


I made a web view app with navigation drawer and it is working fine but the only problem is the settings option in the right corner… Can I edit or remove it??

please check the pics :


In your MainActivity you will have optionmenu, just make it false

 public boolean onCreateOptionsMenu(Menu menu) {
       return false;

I hope this will solve your problem..

Answered By – Gowthaman M

Leave a Comment