How to use in the Activity
FloatingLockView lockView = new FloatingLockView(this); lockView.attachToScreen(this);
Long Press to move the button.
To update the floating lock button,
lockView.updateView()
To lock
lockView.lock()
To Unlock
lockView.unlock()