While fiddling with the layout in Android Studio I somehow turned my logcat window into a floating window. I cannot for the life of me restore it to docked mode.
After reading the top rated answers above it still couldn't resolve the issue. Turns out is was a project specific setting. I fixed it by modifying my project's workspace.xml file located in my project's .idea folder. In that file look for the element
Under that will be the node:
change the type of that node from FLOATING
to DOCKED