title: How to make android navigation drawer scroll-able with header Scroll
body: <p>I want to make a custom navigation drawer where i want that it will be scroll-able .  </p>
  
  <p><a href="https://i.stack.imgur.com/tCLAB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tCLAB.png" alt="enter image description here"></a></p>
  
  <p>Here is  my layout . I have tried it at different way . 
  But its scroll only the list items not header .So how can i make it whole navigation drawer( include header )  scroll-able.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_scrollFlags="scroll|enterAlways"
      android:background="@drawable/bg_parent_rounded_corner"
  
      tools:context="com.ajkerdeal.app.Fragments.HomeCategoryFragment"
      android:weightSum="1"&gt;
  
      &lt;LinearLayout
          app:layout_scrollFlags="scroll|enterAlways"
          android:id="@+id/line1"
          android:layout_width="match_parent"
          android:layout_height="160dp"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:background="@drawable/splash_background3"
          android:gravity="bottom"
          android:orientation="vertical"
          android:paddingBottom="@dimen/activity_vertical_margin"
          android:paddingLeft="@dimen/activity_horizontal_margin"
          android:paddingRight="@dimen/activity_horizontal_margin"
          android:paddingTop="@dimen/activity_vertical_margin"
          android:theme="@style/ThemeOverlay.AppCompat.Dark"&gt;
  
  
          &lt;com.pkmmte.view.CircularImageView
  
              android:id="@+id/imageView"
              android:layout_width="70dp"
              android:layout_height="70dp"
              android:src="@drawable/sample_portrait"
              app:border="true"
              app:border_color="#EEEEEE"
              app:border_width="4dp"
              app:shadow="true" /&gt;
  
  
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:paddingTop="@dimen/nav_header_vertical_spacing"
              android:text="Ehsanul Hauque"
              android:textColor="#000000"
              android:textAppearance="@style/TextAppearance.AppCompat.Body1" /&gt;
  
          &lt;TextView
              android:textColor="#000000"
  
              android:id="@+id/textView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="ehsan@gmail.com" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
      &lt;TextView
  
  
          android:background="#D8D8D8"
          android:gravity="center_vertical"
         android:paddingLeft="20dp"
  
          android:layout_width="409dp"
          android:layout_height="wrap_content"
          android:text="হোম"
          android:textStyle="bold"
  
  
  
          android:id="@+id/textView2"
           /&gt;
  
  
  
  
      &lt;LinearLayout
  
          app:layout_scrollFlags="scroll|enterAlways"
          android:paddingTop="178dp"
          android:orientation="vertical"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:weightSum="1"&gt;
  
  
  
  
          &lt;android.support.v7.widget.RecyclerView
              android:id="@+id/my_recycler_view_from_homecategoryfragment"
              android:scrollbars="vertical"
              android:layout_width="match_parent"
              android:onClick="viewClick"
              android:layout_height="wrap_content"
  
              android:clickable="true"
              android:focusable="true" /&gt;
  
          &lt;EditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:inputType="textPostalAddress"
              android:ems="10"
              android:id="@+id/editText" /&gt;
  
  
      &lt;/LinearLayout&gt;
  
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>