title: Floating action button not displaying over recyclerview(which is inside a DrawerLayout)
body: <p>I am trying to get FAB over recyclerview which in my case will cover the whole screen. The FAB wont display even recyclerview is empty. Following is my xml code.</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/drawer_layout"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      tools:context="com.technistan.ledger.CreateLedger"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;include
              android:id="@+id/tool_bar"
              layout="@layout/tool_bar"
              &gt;&lt;/include&gt;
  
  
          &lt;FrameLayout
              android:orientation="vertical"
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;android.support.v7.widget.RecyclerView
                  android:paddingLeft="2dp"
                  android:paddingRight="2dp"
                  android:id="@+id/recyclerView"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
  
                  /&gt;
  
  
              &lt;android.support.design.widget.FloatingActionButton
                  android:id="@+id/myFAB"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="bottom|end"
                  android:layout_margin="20dp"
                  app:elevation="4dp" /&gt;
  
  
          &lt;/FrameLayout&gt;
  
      &lt;/LinearLayout&gt;
  
  
      &lt;fragment
          android:id="@+id/fragment_navigation_drawer"
          android:layout_width="280dp"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          app:layout="@layout/fragment_navigation_drawer"
          android:name="com.technistan.ledger.NavigationDrawerFragment"
          tools:layout="@layout/fragment_navigation_drawer" /&gt;
  
  
      &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>The preview is showing floating button fine like in the below snap;
  <a href="https://www.dropbox.com/s/18u5pt5v6kkkibj/Screen%20Shot%202015-09-13%20at%201.19.20%20PM.png?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/18u5pt5v6kkkibj/Screen%20Shot%202015-09-13%20at%201.19.20%20PM.png?dl=0</a></p>
  
  <p>But when i run the app there is no FAB displayed. I had tried many combinations but couldn't succeed.
  I tried this over listview without navigationdrawer (simple activity and it was working there i.e. displayed over listview). </p>
  
  <p>Any help will be appreciated guys. Thanks</p>
  
  <p><strong>[EDIT:]</strong> I think the problem is because of the parent layout i.e. android.support.v4.widget.DrawerLayout, I had copy pasted the code from start of  to its end  to another empty activity and it shows the floating button over it there. But still unable to figure it out how to resolve this issue, I nee to display floating action button inside the Drawerlayout. </p>