Toolbar toolbar = (Toolbar) findViewById(R.id.your_tool_bar);
setSupportActionBar(toolbar);
toolbar.setNavigationIcon(R.drawable.your_arrow_icon);
我建议你读这个
https://developer.android.com/training/implementing-navigation/nav-drawer#java
final 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);
toggle.setDrawerIndicatorEnabled(false);
toggle.setHomeAsUpIndicator(R.drawable.myicon);//your preferred drawable image here
toggle.setToolbarNavigationClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
drawer.openDrawer(GravityCompat.START);
}
});