SlidingRootNav icon indicating copy to clipboard operation
SlidingRootNav copied to clipboard

How to delete title of toolbar ?

Open trongtrong opened this issue 6 years ago • 3 comments

trongtrong avatar Jul 18 '18 03:07 trongtrong

try this this.getSupportActionBar().setDisplayShowTitleEnabled(false);

mirshahbazi avatar Feb 03 '19 10:02 mirshahbazi

Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); ActionBar ab = getSupportActionBar(); ab.setTitle(" ");

Ndack avatar May 12 '19 02:05 Ndack

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)

abhinavguptaglobussoft avatar Jun 25 '19 06:06 abhinavguptaglobussoft