I was looking at an application (SwipePad), and noticed that after the application launches, it detects gestures across the entire platform, even after the main part of the appl
You can make layouts that can sit on top of all other windows. They will be running from a service.
Checkout: How to create an UI or a widget that sits on top of all applications in Android?