title: image slider in android need it to be scrollable up and down
body: <p>I want to add a image slider in my application using<br>
   (<a href="https://github.com/daimajia/AndroidImageSlider" rel="nofollow">https://github.com/daimajia/AndroidImageSlider</a>) but I want it to be scrollable . I mean I am having a recycler view below this slider and I want when user scroll the list to see the list items image slider should also scroll up and down as user wants ..  i have pasted my xml below please tell me what should I do.</p>
  
  <p>this is the image url to see the screen shot of the app.
  <a href="http://picpaste.com/U-04sZEbuG.png" rel="nofollow">http://picpaste.com/U-04sZEbuG.png</a></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
        android:orientation="vertical"&gt;
  
         &lt;include
          android:id="@+id/app_bar"
            layout="@layout/app_bar"/&gt;
  
             &lt;android.support.v4.widget.DrawerLayout
             xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/drawer_layout"
            android:layout_width="match_parent"
           android:layout_height="match_parent"&gt;
          &lt;RelativeLayout
             android:layout_width="match_parent"
              android:layout_height="match_parent"
            android:background="#ffffff"&gt;
                &lt;LinearLayout
                  android:id="@+id/TextLinear"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:background="@color/navbarblue"
                  android:gravity="center"&gt;
             &lt;TextView
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 android:textAppearance="?android:attr/textAppearanceLarge"
                 android:text="VIEW BOOKS BY YOUR BRANCH"
                 android:id="@+id/textView"
                 android:textColor="#ffffff"
                 android:layout_gravity="center_horizontal|top"
                 android:gravity="center"/&gt;
              &lt;/LinearLayout&gt;
  
               &lt;com.daimajia.slider.library.SliderLayout
                  android:id="@+id/slider"
                  android:layout_width="match_parent"
                  android:layout_height="200dp"
                  android:layout_below="@+id/TextLinear" /&gt;
              &lt;android.support.v7.widget.RecyclerView
                  android:layout_below="@id/slider"
                  android:id="@+id/MainList"
                 android:layout_width="match_parent"
                android:layout_height="match_parent"&gt;
  
              &lt;/android.support.v7.widget.RecyclerView&gt;
           &lt;/RelativeLayout&gt;
  
             &lt;fragment
               android:id="@+id/fragment_navigation_drawer"
                android:layout_width="@dimen/nav_drawer_width"
                   android:layout_height="match_parent"
                    android:layout_gravity="start"
                     app:layout="@layout/fragment_navigation_drawer"
                 android:name="com.example.sky.learn.NavigationDrawerFragment"
                  tools:layout="@layout/fragment_navigation_drawer" /&gt;
  
                  &lt;/android.support.v4.widget.DrawerLayout&gt;
  
  
  
  
            &lt;/LinearLayout&gt;
  </code></pre>