title: ScrollView with OnTouch event
body: <p>I have a <code>ScrollView</code> and a very long text on <code>TextView</code> and I want to drag to the next/previous text according to the user action like that:</p>
  
  <p>On my xml:</p>
  
  <pre><code>&lt;ScrollView
          android:id="@+id/scrollViewTest"
      android:layout_height="wrap_content"
      android:layout_width="wrap_content"&gt;            
      &lt;TextView
              android:id="@+id/textViewTest"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="very long text" /&gt;    
  &lt;/ScrollView&gt;   
  </code></pre>
  
  <p>On the onCreate I implemented the <code>OnTouchListener</code> in order to drag to the next text.  </p>
  
  <pre><code>ScrollView sv = (ScrollView) findViewById(R.id.scrollViewTest);         
  sv.setOnTouchListener(new MyOnTouch()); 
  </code></pre>
  
  <p>The <code>OnTouchListener</code> define like that:</p>
  
  <pre><code>public class MyOnTouch implements OnTouchListener {
     @Override
     public boolean onTouch(View v, MotionEvent event) {
         return pageFlip(v, event);           
     }
  
     public boolean pageFlip(View v, MotionEvent event) {
         switch (event.getAction()) {
         case MotionEvent.ACTION_DOWN:
             startX = event.getX();
             break;
             case MotionEvent.ACTION_UP:
             float currentX = event.getX();       
              if (startX &gt; currentX + 150 ) {
                  nextText(v);
              }
              if (startX  &lt; currentX - 150) {                
                  previousText(v);
              }
         default:
             break;
     }
     return true;
     }
  }
  </code></pre>
  
  <p>The problem is when I'm implement it like that I can get to the next/previous text but I can't scroll up and down in order to see the text in the bottom.</p>
  
  <p>Any suggestions?</p>