开发者

When would ACTION_OUTSIDE be triggered?

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

The doc's g开发者_如何学Goive 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜