title: Android: make CollapsingToolbarLayout title transparent to avoid overlap with SearchView
body: <p>I'm facing the same problem described in this <a href="https://stackoverflow.com/questions/30742878/android-collapsingtoolbarlayout-and-searchview-text-overlapping">SO question</a> (if my searchview is open and I collapse my toolbar, the two overlaps). So I was trying to implement the approved answer, making my title transparent when it is collapsed. Solution is only partially working for me, because I'm having the same problem described in the message n. 11 in the report of this bug <a href="https://code.google.com/p/android/issues/detail?id=178138" rel="nofollow noreferrer">here</a>. In short, the color of my title doesn't return to white if the searchview is open when the toolbar is collapsed. This is my layout:</p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="@dimen/toolbar_expanded_height"
          android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
          &lt;android.support.design.widget.CollapsingToolbarLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              app:expandedTitleMarginEnd="64dp"
              app:expandedTitleMarginStart="70dp"
              app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  app:popupTheme="@style/ToolbarPopupTheme"
                  app:layout_collapseMode="pin" /&gt;
          &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
      ...
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>And this is the code I've wrote to listen searchview open and close:</p>
  
  <pre><code>public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
      super.onCreateOptionsMenu(menu, inflater);
      inflater.inflate(R.menu.my_menu, menu);
      MenuItem searchItem = menu.findItem(R.id.search);
      MenuItemCompat.setOnActionExpandListener(searchItem, new MenuItemCompat.OnActionExpandListener() {
          @Override
          public boolean onMenuItemActionExpand(MenuItem item) {
              collapsingToolbar.setCollapsedTitleTextColor(Color.TRANSPARENT);
              return true;
          }
  
          @Override
          public boolean onMenuItemActionCollapse(MenuItem item) {
              collapsingToolbar.setCollapsedTitleTextColor(Color.WHITE);
              return true;
          }
      });
      ...
  }
  </code></pre>
  
  <p>where <code>collapsingToolbar</code> is obviously the reference to my CollapsingToolbarLayout. Thank you all for your time.</p>