How to remove the application header in the ToolBar , which is set by default.
ToolBar
toolbar.setTitle(" ");
Activity
toolbar.setTitle(null);
In order to surely remove the title you need:
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayShowTitleEnabled(false);
Source: https://ru.stackoverflow.com/questions/555612/More articles:Div does not stretch the height of the contentWhen adding an entry to contacts, after selecting the option “Only USIM card” the application “Contacts” closes with an errorLoading slider options under certain conditionsWorking with radioButton in C # WinFormsThe result of the Release build does not see libcurlnetAssign a local variable address to itself.What are the best practices for documenting frontend-backend interaction?How to make the default fragment open when opening an application?WebDriverException: Error: write EPIPEc # using datagridview without SQL with a relatively large amount of data without dropping speedAll Articles
toolbar.setTitle(" ");
This is for a specificActivity
. - iFr0ztoolbar.setTitle(null);
- iFr0z