title: onInterceptTouchEvent to disable ACTION_DOWN/ MOVE/UP
body: <p>i have coded a program which which does a task like this</p>
  
  <p>0 1 2 3 4 </p>
  
  <p>5 6 7 8 9</p>
  
  <p>suppose these are the views in my layout. Now suppose user has touched (down event) on 1,some string is set to "1 down". but when the user slides to 2 without releasing his finger on key 1 , then it should set the string to "2 down", but the string is still "1 down".. i am not getting how to make this possible .it may have to be done on ACTION_MOVE  event of 1 . but i am not getting what to do ,to disable its further events (Up event). after the entire sliding  when i release the key the string is set to "1 up". so it is not recognizing the motion down events of 2 3 4 etc. it is staying in down mode. i think it could be done with
  onInterceptTouchEvent, but i did not get it correctly .below is my source code. share ur views on it.if possible give me some sample code on how to incorporate it into my code</p>
  
  <p>@Override
  public void onCreate(Bundle savedInstanceState)
   {</p>
  
  <pre><code>super.onCreate(savedInstanceState);
  
  setContentView(R.layout.main);
  
  
  // select_btn = (Button) findViewById(R.id.ok);
  // home_btn = (Button) findViewById(R.id.home);
  et = (EditText) findViewById(R.id.entry);
  et.setText("", TextView.BufferType.EDITABLE);
  b = new Bundle();
  
  
  try {
      Thread.sleep(2000);
  } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  
  for (int i = 0; i &lt; mybtn.length; i++) {
      String btnid = "btn" + i;
      int resid = getResources().getIdentifier(btnid, "id",
              getPackageName());
      mybtn[i] = (Button) findViewById(resid);
      mybtn[i].setOnTouchListener(this);
  
  }
  </code></pre>
  
  <p>}
  .</p>