OnClickListener is button press down + button let go up. Is there anyway to get it to go off with just button press down?
I still suck at reading documentation. Doesn’t mention anything about this and I don’t know how to go about finding something that could help.
OnLongClickListener says Called when a view has been clicked and held.
Since my question was answered fairly quickly, does anyone know why I would get this error when I change my onClick to onTouch?
The method setOnTouchListener(View.OnTouchListener) in the type View is not applicable for the arguments (new OnTouchListener(){})
For that you need to use an onTouchListener.
Update:
Please refer this tutorial on how to use this:
http://www.mybringback.com/tutorial-series/3279/android-the-basics-32-androids-ontouchlistener-and-motionevent/