title: How to remove app title from toolbar?
body: <p>I can't figure out how to remove my title. I've used the code below in my <code>MainActivity</code> but after I added that line, my app crashes. </p>
  
  <pre><code>getSupportActionBar().setDisplayShowTitleEnabled(false);
  </code></pre>
  
  <p>Here is how my MainActivity looks:</p>
  
  <pre><code>Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
  setSupportActionBar(toolbar);
  </code></pre>
  
  <p>Full code:</p>
  
  <pre><code> @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
          setSupportActionBar(toolbar);
          setContentView(R.layout.activity_main);
          setTheme(R.style.CustomTheme);
  </code></pre>