For getting things done you have to use onClickListener
instead of onTouchListener
. This time different dialogs will be opened. It works because long click and click are the same level (defined) actions while touch could be any action user performs (click, long click, focus changing, etc).
Inspect UI. Event Listeners for information in advance.