Android Facebook Messenger Chat Head like Floating Icon

Facebook Messenger with Chat Head is a great feature and very handy.

A significant time ago facebook have launched Chat Head in it’s Messenger, but now you can seen in many application the feature of rounded chat icon on the screen which will be always on screen above all applications as shown in the screen shots . The app that provide this feature is Facebook messenger app where there is a chat icon on the screen. We can also create the chat head type window in our own app. It’s very easier than expectations. It is using just a service class in android and inflating the view in it. Following are the steps to make a draggable chat icon on the screen .

Step 1) Add Permission in manifest file

Step2) Make a class that extends the service

Step 3) Declare service in manifest file

Step4) Start the service .



Enjoy Coding and Share Knowledge