Napkins! android in a lazy napkin

The lazy swipe application opens when a user clicks diagonally in the lower left corner of the screen. how it's done? How is a lazy agile application perceived only as an arc, and not in full screen? I want to make such an application? please tell me how should i start doing this gestures?

+4
source share
1 answer

I know the application, but there are ways to do it. basically you need to override onInterceptTouchEvent()and onTouchEvent()to itsView

or

you can override Activity.onTouchEvent()to allow activity to intercept all touch events.

: https://developer.android.com/training/gestures/viewgroup.html

Update: LazySwipe: Lazy Swipe /android api, Facebook. . a Service. . Github ( ).

, , Activiy, Activity.onTouch(). View ViewGroup. ViewGoroup.onInterceptTouchEvent() ViewGorup.onTouchEvent(). , Swipe. Android , . : https://developer.android.com/training/gestures/scroll.html

+3

All Articles