How Do I Bring The Floating Action Button Outside The App And Make It Run As Visible,moveable And Clickable Background Service?
So I need my app that has a switch, which when turned on, should create a FAB. This should then run like a background service, over all other apps, after the main activity/app is c
Solution 1:
Have a look at the following projects
https://github.com/JustinScott/AppFloater
https://github.com/vickychijwani/BubbleNote
https://github.com/sezeryesiltas/chat-head-demo
Solution 2:
You need to have an activity with transparent windows background set in theme, no status bar, no toolbar, no layout, just the FAB. You cannot bind the FAB to your background service. A service does not have a GUI. You need to have a running activity while your button is showing.
Post a Comment for "How Do I Bring The Floating Action Button Outside The App And Make It Run As Visible,moveable And Clickable Background Service?"