4

Is it possible to override the swipe-down gesture used to display the notification bar and the back-home-cards control buttons in a fullscreen android activity?

I'm developing a baby-proof app and sometimes the baby would swipe down the screen and exit the app (by tapping on a notification or the home button). I would like to change the gesture from swipe-down to tapping on a certain region or triple tapping the screen for example. Is it possible?

xenteros
  • 15,586
  • 12
  • 56
  • 91
antorqs
  • 619
  • 3
  • 18
  • Interesting topic! I'll be watching for interesting answers. Have you done any research so far? Your question's quality would look much better if you'd provide urls to the resources you've read. Please have a look at [ask] and consider [edit]ing your question. – xenteros Jul 27 '16 at 08:51
  • 1
    @aquiros +1 for your concept – LvN Jul 27 '16 at 08:56
  • Possible duplicate of [Lock Android Device to a Single Application](http://stackoverflow.com/questions/24127947/lock-android-device-to-a-single-application) – xenteros Jul 27 '16 at 09:47
  • [This](http://www.andreas-schrade.de/2015/02/16/android-tutorial-how-to-create-a-kiosk-mode-in-android/) tutorial might be what you're looking. – xenteros Jul 27 '16 at 13:01

0 Answers0