Question: How Do I Remove Text from My Android Toolbar?
Contents How Do I Remove the Title from My Toolbar? the Correct Way to Hide/Change the Toolbar Title Is This: Toolbar Toolbar = (Toolbar) findViewById(R. Id...
Contents
How do I remove the title from my toolbar?
The correct way to hide/change the Toolbar Title is this: Toolbar toolbar = (Toolbar) findViewById(R. id. toolbar); setSupportActionBar(toolbar); getSupportActionBar().
Must Read
How do I change the text bar on my Android?
Go to the app > res > values > themes > themes. xml file and add the following line inside the <resources> tag. In the activity’s onCreate() method, call the activity’s setSupportActionBar() method, and pass the activity’s toolbar. This method sets the toolbar as the app bar for the activity.