I would like to be notified when the pointer is out of the boundary of a View. So I set the listener like this :
view.setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_HOVER_EXIT) {
// Notify
}
}
However, this doesn't work. Any ideas please? Many thanks!
According to documentation it should be delivered to
rather than