title: how to pin title in Toolbar inside CollapsingToolbarLayout
body: <p>Here is my layout:</p>
  
  <pre><code>&lt;android.support.design.widget.AppBarLayout
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          ...
  
          &lt;android.support.v7.widget.Toolbar
              ...
          /&gt;
  
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  </code></pre>
  
  <p>I want title stays in Toolbar, not in CollapsingToolbarLayout. So I changed my code from:</p>
  
  <pre><code>mCollapsingToolbar = ...
  mCollapsingToolbar.setTitle(title);
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>mTitleBar = ...
  setSupportActionBar(mTitleBar);
  getSupportActionBar().setTitle(title);
  </code></pre>
  
  <p>But the title is not visible. My device is Nexus 6 5.1.0</p>
  
  <p>Thanks in advance.</p>
  
  <hr>
  
  <p>Update 1: I have changed code to this, still not work :(</p>
  
  <pre><code>setSupportActionBar(mToolbar);
  getSupportActionBar().setTitle(title);
  getSupportActionBar().setDisplayShowTitleEnabled(true);
  getSupportActionBar().setHomeButtonEnabled(true);
  getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  </code></pre>
  
  <hr>
  
  <p>Update 2: Here is code snippet for those three views:</p>
  
  <pre><code>private void setUpAppBarLayout() {
      AppBarLayout appBarLayout = (AppBarLayout) findViewById(R.id.appbar_layout);
      appBarLayout.setBackgroundColor(extractBackgroundColor());
  }
  
  private void setUpCollapsingToolbarLayout() {
      if (null == mCollapsingToolbar) {
          mCollapsingToolbar = (CollapsingToolbarLayout) findViewById(R.id.collapsing_toolbar);
      }
  }
  
  private void setUpToolbar(String title) {
      mToolbar = (Toolbar) findViewById(R.id.tb_main);
      mToolbar.setNavigationOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              supportFinishAfterTransition();
          }
      });
      mToolbar.inflateMenu(R.menu.menu_group_activity);
      mToolbar.setOnMenuItemClickListener(new Toolbar.OnMenuItemClickListener() {
          @Override
          public boolean onMenuItemClick(MenuItem item) {
              if (R.id.action_settings == item.getItemId()) {
                  ...
                  return true;
              } else {
                  return false;
              }
          }
      });
      mToolbar.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              mRecyclerView.smoothScrollToPosition(0);
          }
      });
  
      setSupportActionBar(mToolbar);
      getSupportActionBar().setTitle(title);
      getSupportActionBar().setDisplayShowTitleEnabled(true);
      getSupportActionBar().setHomeButtonEnabled(true);
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  }
  </code></pre>
  
  <p>After called setSupportActionBar(mToolbar), both title and menu are invisible.</p>