Swype keyboard is known feature for Samsung devices, but it is possible to use it on other Android phones. To enable Swype keyboard on Nexus 4 and enter words by sliding through the letters do as follows:
1. Open "Settings" app and select "Language & Input"
2. Tap the "Settings" icon on the right side of "Android Keyboard"
3. Scroll down and find "Enable Gesture Typing"
To disable Swype keyboard make sure it is unmarked
and Mark the otpion to enable Swype keyboard