navigation MenuItem in toolbar doesn't trigger onOptionsItemSelected
I'm trying to use the navigation drawer with toolbar, but pressing the navigation button doesn't trigger the onOptionsItemSelected handler and the list doesn't open. Search button, however, trigger onOptionsItemSelected. This is my code and xml: EDIT: also onDrawerClosed() and onDrawerOpened() aren't called MainActivity.java: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mToolbar = (Toolbar) findViewById(R.id.tool_bar); setSupportActionBar(mToolbar); mAdapter = new ViewPagerAdapter