title: View can not be anchored to the parent CoordinatorLayout
body: <p>I just updated to appcompat library from 23.1.1 to 23.2 and now application stopped working on java.lang.IllegalStateException: View can not be anchored to the the parent CoordinatorLayout.</p>
  
  <pre><code>java.lang.IllegalStateException: View can not be anchored to the the parent CoordinatorLayout
  </code></pre>
  
  <p>Crash comes from <code>resolveAnchorView</code> method of <code>CoordinatorLayout</code> when parent (CoordinatorLayout is not in edit mode). Layout is used as root element in base activity and contains different layouts (toolbar, progressbar and finally relativelayout with inflated layout of activity.</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:id="@+id/base_activity__main_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/shared__color_primary"&gt;
  
      &lt;ProgressBar
          android:id="@+id/base_activity__progress_bar_top"
          style="?android:attr/progressBarStyleHorizontal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:indeterminate="true"
          android:visibility="gone" /&gt;
  
      &lt;ViewSwitcher
          android:id="@+id/base_activity__switcher"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_below="@+id/base_activity__progress_bar_top"&gt;
  
          &lt;LinearLayout
              android:id="@+id/base_activity__progress_bar_layout"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:gravity="center"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/_loading"
                  android:textStyle="italic" /&gt;
  
              &lt;ProgressBar
                  android:id="@+id/base_activity__progress_bar"
                  style="?android:attr/progressBarStyleHorizontal"
                  android:layout_width="150dp"
                  android:layout_height="wrap_content"
                  android:indeterminate="true" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;RelativeLayout
              android:id="@+id/base_activity__main_content_layout"
              android:layout_width="match_parent"
              android:layout_height="match_parent" /&gt;
  
      &lt;/ViewSwitcher&gt;
  
      &lt;RelativeLayout
          android:id="@+id/base_activity__add_button__container"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@android:color/transparent" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>