#Facebook Chat Heads
We all love the chat heads from the popular Facebook Messenger. This provides very handy and easy access to the chat conversation screen no matter on which screen you are.
In this sample project demonstrates how we can create simple chat heads and allow user to drag them across the screen. So that user can adjust the position of the chat head.
####Here is the tutorial on medium.
- Create chat head layout.
- Create service for chat heads and add the chat head layout to the display window.
- Override the
OnTouch(), to respond the drag and move event.
android.permission.SYSTEM_ALERT_WINDOWpermission to the
AndroidManifest.xmland check if the permission available in runtime before starting chat head service.