How do I place the Navigation Drawer icon in a Material Search View?

1

I have a (Material Search View) and a (Navigation Drawer), and I do not know how to place the icon to open the Navigation ...

This is the normal code for when it is a Toolbar , but with Material Search View I do not know how it is ..

DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this, drawer, toolbar, 
                      R.string.navigation_drawer_open, R.string.navigation_drawer_close);

drawer.setDrawerListener(toggle);
toggle.syncState();

    
asked by Edwin Anaya 31.03.2017 в 20:26
source

0 answers