Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to delete title of toolbar ? #53

Open
trongtrong opened this issue Jul 18, 2018 · 3 comments
Open

How to delete title of toolbar ? #53

trongtrong opened this issue Jul 18, 2018 · 3 comments

Comments

@trongtrong
Copy link

No description provided.

@mirshahbazi
Copy link

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

@Ndack
Copy link

Ndack commented May 12, 2019

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

@abhinavguptaglobussoft
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants