this example explains how to code a floating imageView on top of your apps and with the ability to move it around the screen.