FloatingViewService Demo for Android
EXTRAS
In the sample project, there is an activity that will make the overlay appear when the app is in the background, or hide it when the app is in the foreground. This project works only as a concept and idea on what you can do with overlays and how to get started. If you do use some of the code used here, give credit if you feel like it, or mention the repo somewhere in your project.
Have a look at the code here: https://github.com/alexstyl/FloatingViewService
by J####:
Best demo ever