title: Android MaterialSearchView overlap
body: <p>I'm using MaterialSearchView in my project.</p>
  
  <p><a href="https://github.com/MiguelCatalan/MaterialSearchView" rel="nofollow noreferrer">https://github.com/MiguelCatalan/MaterialSearchView</a>.</p>
  
  <p>I'm creating the the <strong>Navigation Drawer Activiti</strong> that Android Studio provides, the default xml is using <strong>CoordinatorLayout</strong> to contain <strong>AppBarLayout</strong>. However, when integrate with the MaterialSearchView library, <strong>only one suggestion</strong> is given. I found in their sample xml, they are using RelativeLayout. After I change to <strong>RelativeLayout</strong>, the suggestions display fine. However, the FrameLayout and AppLayout seems <strong>overlap</strong> each other. After I click the search menu item, and close it, then it look fine. (Check the below pictures)</p>
  
  <p><a href="https://i.stack.imgur.com/hTaBp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hTaBp.png" alt="enter image description here"></a> <a href="https://i.stack.imgur.com/tXWFt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tXWFt.jpg" alt="enter image description here"></a> <a href="https://i.stack.imgur.com/ZAXhz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZAXhz.jpg" alt="enter image description here"></a></p>
  
  <p>Current code is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.toe.shareyourcuisine.activity.MainActivity"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
          &lt;FrameLayout
              android:id="@+id/toolbar_container"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/toolbar"
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  android:background="?attr/colorPrimary"
                  app:popupTheme="@style/AppTheme.PopupOverlay"/&gt;
  
              &lt;com.miguelcatalan.materialsearchview.MaterialSearchView
                  android:id="@+id/search_view"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"/&gt;
  
          &lt;/FrameLayout&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;FrameLayout
          android:id="@+id/content"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:paddingBottom="@dimen/activity_vertical_margin"
          android:paddingLeft="@dimen/activity_horizontal_margin"
          android:paddingRight="@dimen/activity_horizontal_margin"
          android:paddingTop="@dimen/activity_vertical_margin"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I also post my issue in this link:</p>
  
  <p><a href="https://github.com/MiguelCatalan/MaterialSearchView/issues/141" rel="nofollow noreferrer">https://github.com/MiguelCatalan/MaterialSearchView/issues/141</a></p>
  
  <p>Can anyone help me figure it out?</p>