Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionBar ab = getSupportActionBar();
- toggle.setDrawerIndicatorEnabled(false);
- ab.setHomeAsUpIndicator(R.drawable.close_button);
- ab.setDisplayHomeAsUpEnabled(true);
- switch (item.getItemId()) {
- case android.R.id.home:
- func(); // doesn't called
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement