Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When would ACTION_OUTSIDE be triggered?

Tags:

android

I don't understand when ACTION_OUTSIDE is triggered. Please give me an example.

The doc's give this cryptic description:

Constant for getAction(): A movement has happened outside of the normal bounds of the UI element. This does not provide a full gesture, but only the initial location of the movement/touch.

http://developer.android.com/reference/android/view/MotionEvent.html#ACTION_OUTSIDE

like image 576
tjb Avatar asked May 28 '11 15:05

tjb


1 Answers

I believe it is only used for clicking outside of the current activity (for example a dialog). Check out WindowManager.LayoutParams

like image 54
FunkTheMonk Avatar answered Oct 04 '22 13:10

FunkTheMonk