I have this strange line wrap on Android Studio and I want to disable because it freaks me out...

I have this strange line wrap on Android Studio and I want to disable because it freaks me out...

It's also available under the context menu

In Android Studio 0.4.0 following should help:
Configure > Settings > Editor > Uncheck 'Use soft wraps in editor'

On Mac (Android Studio 3.0):
Preferences -> Editor -> General -> Uncheck 'Use soft wraps in editor'
I wanted to entirely disable wrapping and I found a workaround.

It doesn't seem to work for specific file extensions (Groovy, HTML, Java, etc.) but does with the general value. I set it with a significantly great number and am having no more wrapping.
I think they should give a master option for it!
If you're wondering how to do this for Flutter/Dart, here's how:
This should work for any programming language.
In Android Studio 2.3.3+, to disable line wrapping, you need to go to:
In Android Studio 1.0.2, there is no menu named Configure. Settings is now under File menu. Everything are as accepted answer.
I found helpful that in the current version (Android Studio 3.2) you can set the soft wrap indicators to show only in the current line in adition to using soft wraps in editor.
Check the Show soft wrap indicators for current line only in:
Editor -> General -> Soft Wraps
There is also the auto-line breaking issue, where AS will automatically add hard line returns in long lines. I found the setting for this in Preferences > Editor > Code Style > Hard wrap at [X] and []wrap on typing.