title: Recycler view issue in Umano AndroidSlidingPanel
body: <p>i am using this <a href="https://github.com/umano/AndroidSlidingUpPanel" rel="nofollow noreferrer">AndroidSlidingUpPanel</a> . </p>
  
  <p>My main content is Map and second one which slide up panel is Recyclerview .
   <strong>But Issue is it not coming on panel size correctly.</strong> </p>
  
  <blockquote>
    <p><strong>On Collapsed State</strong> : its coming correctly but as soon as i drag up and
    <strong>expanded State</strong> it shows the <strong>orange color bar like thing at end</strong> . Orange color is due to the background set in  linear Layout which
    is the host of RcycleView  . If we remove the background then also problem stays  which <strong><em>THE BAR LIKE THING AT END OF RECYCLER VIEW LIST</em></strong> . </p>
    
    <p><strong>I want : Recycler view to be show as same height as Panel . No linear layout shown at end of it .</strong></p>
  </blockquote>
  
  <p>I think i did something wrong in placing views in XML . But i didn't able to understand what . </p>
  
  <p><strong><em>Collapsed PanelState</em></strong>
  <a href="https://i.stack.imgur.com/kUxnd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kUxnd.jpg" alt="enter image description here"></a></p>
  
  <p><strong><em>EXPANDED STATE</em></strong></p>
  
  <p><a href="https://i.stack.imgur.com/rW3u2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rW3u2.jpg" alt="enter image description here"></a></p>
  
  <p>main.xml</p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
  &lt;com.sothree.slidinguppanel.SlidingUpPanelLayout
      xmlns:sothree="http://schemas.android.com/apk/res-auto"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/sliding_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="bottom"
      sothree:umanoShadowHeight="0dp"
      sothree:umanoDragView="@+id/dragView"
      sothree:umanoFadeColor="@android:color/transparent"&gt;
  
  
          &lt;fragment
              android:id="@+id/map"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              class="com.google.android.gms.maps.SupportMapFragment"/&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height= "match_parent"
          android:background="#d35400"
          android:orientation="vertical"
          android:id="@+id/dragView"&gt;
  
          &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/path_recycler_view"
          android:layout_width="match_parent"
              android:orientation="vertical"
          android:layout_height="match_parent"
          android:clickable="true"
          android:focusable="false"
          xmlns:android="http://schemas.android.com/apk/res/android" /&gt;
          &lt;/LinearLayout&gt;
  &lt;/com.sothree.slidinguppanel.SlidingUpPanelLayout&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>MainActivity.java</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_path_google_map);
          final SupportMapFragment fm = (SupportMapFragment) getSupportFragmentManager()
                  .findFragmentById(R.id.map);
          googleMap = fm.getMap();
          mLayout = (SlidingUpPanelLayout) findViewById(R.id.sliding_layout);
          FrameLayout fl = (FrameLayout) findViewById(R.id.list_fragment_container);
          recyclerView = (RecyclerView)findViewById(R.id.path_recycler_view);
           mMapCover = (View)findViewById(R.id.curtain_view);
  
  
  ArrayList&lt;MapHolders&gt; holders = SingleTon.getInstance().getMapHolders();
          holders = SingleTon.getInstance().getMapHolders();
          if (holders != null &amp;&amp; holders.size() &gt; 0) {
              String url = getMapsApiDirectionsUrl();
              ReadTask downloadTask = new ReadTask();
              downloadTask.execute(url);
  
              googleMap.moveCamera(CameraUpdateFactory.newLatLng(holders.get(0).latLng));
              googleMap.animateCamera(CameraUpdateFactory.zoomTo(10));
  
              googleMap.setMyLocationEnabled(true);
  
                 /*SlidingPanelUpLayout*/
  
              mLayout.setPanelState(SlidingUpPanelLayout.PanelState.HIDDEN);
  
  
  
              addMarkers();
  
          }
  
  
          mLayout.setPanelSlideListener(new SlidingUpPanelLayout.PanelSlideListener() {
              @Override
              public void onPanelSlide(View panel, final float slideOffset) {
                  Log.i(TAG, "onPanelSlide, offset " + slideOffset);
                  googleMap.getUiSettings().setAllGesturesEnabled(true);              
  
              }
  
              @Override
              public void onPanelExpanded(View panel) {
                  Log.i(TAG, "onPanelExpanded");
                  googleMap.getUiSettings().setAllGesturesEnabled(false);
  
              }
  
              @Override
              public void onPanelCollapsed(View panel) {
                  slideFrag = true;
                  Log.i(TAG, "onPanelCollapsed");
                  googleMap.getUiSettings().setAllGesturesEnabled(false);
  
              }
  
              @Override
              public void onPanelAnchored(View panel) {
                  Log.i(TAG, "onPanelAnchored");
              }
  
              @Override
              public void onPanelHidden(View panel) {
                  slideFrag = false;
                  Log.i(TAG, "onPanelHidden");
              }
          });
  
          mMapCover.setOnTouchListener(new View.OnTouchListener() {
              @Override
              public boolean onTouch(View v, MotionEvent event) {
                  if (mLayout.getPanelState() == SlidingUpPanelLayout.PanelState.COLLAPSED) {
                      mLayout.setPanelState(SlidingUpPanelLayout.PanelState.HIDDEN);
                      return true;
                  }
  
                  return false;
              }
          });
  
      }
  
      private void addMarkers() {
  
  
  
          googleMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
              @Override
              public boolean onMarkerClick(Marker marker) {
  
                  mLayout.setPanelHeight(400);
  
  
                      if(mLayout!=null){
                          Log.i("marker", "collapsed");
                          mLayout.setPanelState(SlidingUpPanelLayout.PanelState.COLLAPSED);
                          animateLatLngZoom(points, 0, -10, 10);
  
                      }else{
                          Log.i("marker","Hidden");
                          mLayout.setPanelState(SlidingUpPanelLayout.PanelState.HIDDEN);
                      }
                  }
  
  
                  return true;
              }
          });
  
  
  
  
  }
  </code></pre>
  
  <p>Please help me finding an issue .</p>