SlidingRootNav
SlidingRootNav copied to clipboard
How to delete title of toolbar ?
try this this.getSupportActionBar().setDisplayShowTitleEnabled(false);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); ActionBar ab = getSupportActionBar(); ab.setTitle(" ");
use this code:
slidingRootNav = new SlidingRootNavBuilder(this) .withMenuOpened(false) .withContentClickableWhenMenuOpened(false) .withSavedState(savedInstanceState) .withMenuLayout(R.layout.menu_left_drawer) .inject();
comment this line :
.withToolbarMenuToggle(toolbar)