title: Android Studio shows wrong layout in layout preview (ActionBarOverlayLayout?!)
body: <p>I have a nice <strong>FrameLayout</strong> as main container and <strong>some other views</strong> inside it's hierarchy.</p>
  
  <p>But <strong>the preview shows a simple ActionBarOverlayLayout.</strong></p>
  
  <p>What is that? Why is it here?</p>
  
  <p>I have Android Studio 3.0.0</p>
  
  <p>I have tried:
  Restart Android Studio. Refresh the preview by resizing. Changed the preview device, changed the SDK of the preview, changed the blueprint\design options, pressed "force refresh layout" <code>Button</code>.</p>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout 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="wrap_content"
  android:orientation="vertical"
  
  android:paddingLeft="8dp"
  android:paddingRight="8dp"
  android:paddingTop="8dp"&gt;
  
  
  &lt;com.makeramen.roundedimageview.RoundedImageView
      android:layout_width="match_parent"
      android:layout_height="@dimen/walk_list_item_height"
      android:adjustViewBounds="false"
      android:cropToPadding="false"
      android:scaleType="centerCrop"
      app:layout_heightPercent="25%"
      app:layout_marginLeftPercent="0%"
      app:layout_marginTopPercent="0%"
      app:layout_widthPercent="100%"
      app:riv_corner_radius="@dimen/corner_radius"
      android:id="@+id/walk_iv" /&gt;
  
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom"
      android:background="@drawable/gradient"
      android:orientation="vertical"
      android:paddingBottom="16dp"
      android:paddingTop="16dp"&gt;
  
      &lt;TextView
          android:id="@+id/walk_name_tv"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:gravity="center_vertical"
          android:padding="16dp"
          android:text="New Text"
          android:textAppearance="?android:attr/textAppearanceMedium"
          android:textColor="#fff" /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:paddingLeft="16dp"
          android:paddingRight="16dp"&gt;
  
          &lt;ImageView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              app:srcCompat="@drawable/ic_duration_icon" /&gt;
  
          &lt;TextView
              android:id="@+id/duration_tv"
              android:layout_gravity="center"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="8dp"
              android:gravity="center|left"
              android:text="TextView"
              android:textColor="#fff" /&gt;
  
  
          &lt;ImageView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              app:srcCompat="@drawable/ic_marker"
              android:layout_marginLeft="16dp" /&gt;
  
  
          &lt;TextView
              android:id="@+id/stops_tv"
              android:layout_gravity="center"
  
              android:layout_marginLeft="8dp"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:text="TextView"
              android:textColor="#fff" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bldqD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bldqD.png" alt="enter image description here"></a></p>