title: ViewPager and Sliding Menu swipe propagation
body: <p>in an android app I am using a sliding menu to the left: <a href="https://github.com/jfeinstein10/SlidingMenu" rel="nofollow">https://github.com/jfeinstein10/SlidingMenu</a></p>
  
  <p>inside one of the activity, I have a ViewPager:</p>
  
  <pre><code>&lt;android.support.v4.view.ViewPager
        android:id="@+id/image_pager"
        android:layout_width="match_parent"
        android:layout_height="match_parent" /&gt;
  </code></pre>
  
  <p>I load multiple images view in the pager from the adapter to scroll between them.</p>
  
  <p>However I am facing a conflict in scrolling.</p>
  
  <p>When I swipe to the left everything works fine, the next image gets displayed.</p>
  
  <p>But when I swipe to the right, the sliding menu will open, since its his behavior.</p>
  
  <p>Can I make it in a way that swiping on the View Pager does not propagate to the sliding menu?</p>
  
  <p>I tried to return true in the OnTouchListener of the pager, but the sliding menu is still opening, and now the slider doesn't work anymore.</p>
  
  <pre><code>            viewPager.setOnTouchListener(new OnTouchListener() {
  
          @Override
          public boolean onTouch(View v, MotionEvent event) {
              // TODO Auto-generated method stub
              return true;
          }
      });
  </code></pre>
  
  <p>Thanks for any help</p>