strange issue when using drawer in android lolipop <p>i have mainlayout.xml as coded below :</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v4.widget.DrawerLayout 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:id="@+id/drawer" android:layout_width="match_parent" android:layout_height="match_parent" android:layoutDirection="rtl" tools:context="com.sanwix.mh.meeting.MainActivity"&gt; &lt;RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;include android:id="@+id/toolbar" layout="@layout/layout_appbar"/&gt; &lt;android.support.v7.widget.RecyclerView android:id="@+id/MyMainReycler" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/toolbar" android:padding="16dp"&gt; &lt;/android.support.v7.widget.RecyclerView&gt; &lt;android.support.design.widget.FloatingActionButton android:id="@+id/Fabb" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_gravity="left|bottom" android:layout_margin="16dp" android:src="@android:drawable/ic_menu_edit" android:transitionName="sharedFab" app:backgroundTint="@color/colorAccent" app:elevation="8dp" app:fabSize="normal" /&gt; &lt;/RelativeLayout&gt; &lt;android.support.v7.widget.RecyclerView android:id="@+id/myRecycleDrawer" android:layout_width="280dp" android:fitsSystemWindows="true" android:layout_gravity="start" android:layout_height="match_parent"/&gt; &lt;/android.support.v4.widget.DrawerLayout&gt; </code></pre> <p>every things work prefectly on pre-lolipop devices. but on lolipop or above , it doesnt run prefectly. my issue is that : i have no main content for myactivity and each one of my elements take a seperate drawer . i mean the RelativeLayout will be shown as left-side drawer and the RecyclerView will be shown as right-side drawe on lolipop or above. but what i want is just one drawer on rightside(my recycle)</p> <p>any idea will be appreciated</p>