开发者

When would ACTION_OUTSIDE be triggered?

开发者 https://www.devze.com 2023-03-09 10:48 出处:网络
I don\'t understand when ACTION_OUTSIDE is triggered. Please give me an example. The doc\'s g开发者_如何学Goive this cryptic description:

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

精彩评论

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