title: Sliding Up Panel With No Height
body: <p>I'm using <a href="https://github.com/umano/AndroidSlidingUpPanel" rel="nofollow" title="Sliding Up Panel library">Sliding Up Panel Library</a> for Android by Umano Team.
  My requirement is a vertical swipe to a second view,
  without "previewing" the panel on the first, basically a
  vertical swipe on a drag point (an ImageView).</p>
  
  <pre><code>&lt;com.sothree.slidinguppanel.SlidingUpPanelLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:sothree="http://schemas.android.com/apk/res-auto"
      android:id="@+id/sliding_panel"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="bottom"
      sothree:panelHeight="0dp"
      sothree:shadowHeight="0dp" &gt;
  
      &lt;!------ First view ------&gt;
      &lt;RelativeLayout
          android:id="@+id/relative_first"
          android:layout_width="match_parent"
          android:layout_height="match_parent" &gt;
  
          &lt;!------ Bottom drag point ------&gt;
          &lt;ImageView
              android:id="@+id/drag_first_view"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:background="@drawable/ic_launcher"
              android:gravity="center|bottom" &gt;
          &lt;/ImageView&gt;
  
      &lt;/RelativeLayout&gt;
  
      &lt;!------ Second view ------&gt;
      &lt;RelativeLayout
          android:id="@+id/relative_second"
          android:layout_width="match_parent"
          android:layout_height="match_parent" &gt;
  
          &lt;!------ Top drag point ------&gt;
          &lt;ImageView
              android:id="@+id/drag_second_view"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:background="@drawable/ic_launcher"
              android:gravity="center|top" &gt;
          &lt;/ImageView&gt;
  
      &lt;/RelativeLayout&gt;
  
  &lt;/com.sothree.slidinguppanel.SlidingUpPanelLayout&gt;
  </code></pre>
  
  <p>The panel has attribute sothree:panelHeight="0dp" so is completely hidden.
  Initial state has the drag on first view.
  I've setup a listener to change it on expanded or collapsed:</p>
  
  <pre><code>slidingUpPanelLayout.setPanelSlideListener(new SimplePanelSlideListener() {
      @Override
      public void onPanelCollapsed(View panel) {
          slidingUpPanelLayout.setDragView(dragFirstView);
      }
  
      @Override
      public void onPanelExpanded(View panel) {
          slidingUpPanelLayout.setDragView(dragSecondView);
      }
  
  });
  </code></pre>
  
  <p>The problem is I've lost the progressive "dragging" effect, besides swiping up and
  going over (on y axis) the drag imageview (on first view) results in no transition
  (I think that the first view intercept the ontouch event).
  Can you please give me any hints to proceed, or suggest others ways
  to do that? I really like the library, and I feel to be near the aim.
  Forgot to say I'm inside a view pager =).</p>