There are a lot of apps coming which float above other apps like Chatheads for Facebook. So I made an example app showing how they work.
It is basically a view in a WindowManager which is inflated in a Service. With a few more tweaks, it can be made to change positions on the fly.
I made this for API 10+ but it should work with lower versions just fine.
Here is how it looks:
This is just an example. The possibilites are countless.
Hope it helps developers create other apps like Floating Notifications and such.
Full sources can be found on my Github here.
Sample app can be found here.
Regards.
-----------------------------------
Featured on Portal:
http://www.xda-developers.com/android/use-windowmanager-to-create-floating-apps/
It is basically a view in a WindowManager which is inflated in a Service. With a few more tweaks, it can be made to change positions on the fly.
I made this for API 10+ but it should work with lower versions just fine.
Here is how it looks:
This is just an example. The possibilites are countless.
Hope it helps developers create other apps like Floating Notifications and such.
Full sources can be found on my Github here.
Sample app can be found here.
Regards.
-----------------------------------
Featured on Portal:
http://www.xda-developers.com/android/use-windowmanager-to-create-floating-apps/
Last edited: