title: How to remove the title from toolbar menu in Kotlin?
body: <p>i have this toolbar</p>
  <p><img src="https://i.stack.imgur.com/KU3HT.png" alt="enter image description here" /></p>
  <p>i want to remove the title of the fragment so i can display more items</p>
  <p>is it from the xml file or the activity?</p>
  <p>because i tried to add this to my main activity:</p>
  <pre><code>getActionBar().setDisplayShowTitleEnabled(false);
  
  getSupportActionBar().setDisplayShowTitleEnabled(false);
  
  setSupportActionBar(toolbar).setTitle(&quot;&quot;);
  
  toolbar.setTitle(null)
  </code></pre>
  <p>but none of them worked</p>
  <p>any suggestion?</p>
  <p>this is MainActiviy code:</p>
  <pre><code>class MainActivity : AppCompatActivity() {
  
  
  
  
  
  
  
  
  
  
  
  override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
  
      setContentView(R.layout.activity_main)
      setSupportActionBar(toolbar)
      
  
  
  
  
  
  
  
  
  
      val navController = Navigation.findNavController(this, R.id.nav_host_fragment)
  
  
  
      setupBottomNavMenu(navController)
      setupSideNavigationMenu(navController)
      setupActionBar(navController)
  </code></pre>