Take a look at the OnTouchListener , it has MotionEvents for Down (click) and Up (release):
view.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { switch(event.getAction()) { case MotionEvent.ACTION_DOWN:
source share