I\'m developing an Android 2.2.2 application for a client and he wants to do the following:
Now I have a button with an onClick event but he doesn\'t like, he wants
OnClick is triggered when the user releases the button. But if you still want to use the TouchListener you need to add it in code. It's just:
myView.setOnTouchListener(new View.OnTouchListener() { // Implementation; });