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

Issue

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 : https://ibb.co/mVqbRR https://ibb.co/n8d7Y6

Solution

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

@Override
 public boolean onCreateOptionsMenu(Menu menu) {
       return false;
 }

I hope this will solve your problem..

Answered By – Gowthaman M

Leave a Comment