Is it possible to capture release of a button just as we capture click using onClickListener() and OnClick() ?
onClickListener()
OnClick()
I want to increase size of a
Eric Nordvik has the right answer except that
event.getAction() == MotionEvent.ACTION_UP
never got executed for me. Instead I did implement
button.setOnClickListener(new OnClickListener() { @Override public boolean onClick(View v) { resetSize(); } };
for the touch ACTION_UP.