I am confused with onTouch(),please take a look
<p>Here is my code.</p>

<p>When false is returned only ACTION_DOWN can be called and when true is returned all actions are okay, why?</p>

<pre><code>aView = findViewById(R.id.a1);
aView.setOnTouchListener(new OnTouchListener(){  

    //@Override  
    public boolean onTouch(View v, MotionEvent event) {  

        // TODO Auto-generated method stub  
        System.out.println("Gallery onTouch");  

        if(event.getAction()==MotionEvent.ACTION_MOVE){  
            Log.e("touchtest", "ACTION_MOVE");
            System.out.println("ACTION_MOVE ");         

        }else if(event.getAction()==MotionEvent.ACTION_UP){  
            Log.e("touchtest", "ACTION_UP");
            System.out.println("ACTION_UP "); 

        }else if (event.getAction()==MotionEvent.ACTION_DOWN){
            Log.e("touchtest", "ACTION_DOWN");
        }

        return true;  
    }  

}); 
</code></pre>
