I would like, when the user presses the screen, open a horizontal menu with 4 options where the option to which he will release his finger on top will be the one selected.
The press event I already know. would be this:
btn_operacao.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
//algoritmo . . .
return true;
}
});
What would be the event to catch the moment when the user removes his finger from the screen?